2026-11-20 · Duplicate and blurred photographs flagged before a job is sent

2026-11-20 · Duplicate and blurred photographs flagged before a job is sent

Context

In a reading room a researcher often photographs the same page two or three times: the hand moved, the focus hesitated. A folder of 300 phone photographs dropped into New job was then paid for and reviewed with its retakes, and sometimes the blurred take was the one read (#216). The input checks in media (spreads, resolution, a text layer, a recording’s level) look at one file at a time; this one compares the photographs of a batch with each other. None of the reference projects compares inputs, so there was nothing to port.

The hard case is not the retake but the page that looks like it: two pages of one register, of one printed form or of one newspaper share their ruling and layout, and differ only in what is written on them. A 64-bit average or difference hash calls them the same page (on the synthetic register below, the difference hashes of two different pages differ in 8 to 17 bits of 64, those of a page and its retake in 13 to 25), so a hash can only choose what to look at more closely.

Decisions

What the thresholds were set on

Synthetic photographs only. No real retakes are in the repository, so every case is made at test time (photos/tests.rs) from the two sample pages (samples/dodington-1755.jpg, handwritten, 2,922 × 4,298; samples/bulletin-page.jpg, printed, 992 × 1,403), nothing large committed:

What they measured:

Case Tiles disagreeing Median correlation Verdict
Retakes of the handwritten page (4 kinds, one blurred) 0 0.90 to 0.93 same
Retakes of the printed page (4 kinds, two blurred) 0 to 3 of 21 to 29 (≤ 14%) 0.60 to 0.88 same
Retake of a register page 0 of 23 0.80 same
Two pages of one register (5 pairs) 19 to 33 of 25 to 39 (≥ 76%) 0.09 to 0.18 different
Two issues of the bulletin 25 of 31 0.08 different
Handwritten page beside printed page or register all 0.04 to 0.05 different
Page Sharp Blur 0.5 0.7 1 2 3 Moved 5 Moved 9 Dim, JPEG
Handwritten 0.94 0.77 0.67 0.60 0.53 0.51 0.60 0.58 0.89
Printed 0.91 0.84 0.74 0.62 0.52 0.51 0.55 0.56 0.92
Register 0.98     0.60 0.51 0.52 0.57 0.53 0.97

False positives and negatives seen

Consequences