diff options
Diffstat (limited to 'check/static/perceptual_hash_report.html')
| -rw-r--r-- | check/static/perceptual_hash_report.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/check/static/perceptual_hash_report.html b/check/static/perceptual_hash_report.html new file mode 100644 index 0000000..566a058 --- /dev/null +++ b/check/static/perceptual_hash_report.html @@ -0,0 +1,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> + <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>
\ No newline at end of file |
