diff --git a/photo_ingest.py b/photo_ingest.py index 079768f..c684c49 100644 --- a/photo_ingest.py +++ b/photo_ingest.py @@ -92,13 +92,12 @@ def check_and_register(image_paths: list[str], source: str) -> dict: if match: exact_dups.append((p_str, match[0])) continue - # near dup by perceptual hash + # near dup by perceptual hash — FLAG but DO NOT skip (review decides) hx = db.hash_image(p) near, dist = db._near_dup_lookup(conn, hx) if near and dist <= 10: near_dups.append((p_str, near, dist)) - continue - # new — register + # register regardless (near-dup is a review hint, not a block) with Image.open(p) as im: w, h = im.size conn.execute(