blob: 83748fa75e52a5be759d45b64b583725aa3b7af4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<html>
<head>
<link rel="stylesheet" href="{{ dir_assets }}/css.css">
</head>
<body>
<h1>Image Duplicates</h1>
{% for fname_a, image_group in image_groups %}
<h3>Duplicates for {{ fname_a }}</h3>
<table class="image_group">
<tr>
<th>Image A</th>
<th>Image B</th>
<th>Score</th>
</tr>
{% for df in image_group.itertuples() %}
<tr>
<td>
<img class="img_match img_match_a" src="{{ dir_ims }}/{{ df.fname_a }}" />
</td>
<td>
<img class="img_match img_match_b" src="{{ dir_ims }}/{{ df.fname_b }}" />
</td>
<td class="result_txt">
<ul>
<li>Filename A:</h5> {{ df.fname_a }}</li>
<li>Filename B:<br> {{ df.fname_b }}</li>
<li>Score: {{ df.score }}</li>
</ul>
</td>
</tr>
{% endfor %}
</table>
{% endfor %}
</body>
</html>
|