product-recognition-demo/recognization/code
tngo e53c1ef59b feat: finish the enrollment protocol's reporting checks
Three items from DECISION §8's enrollment protocol were unimplemented and none
of them needed Tier-2 data:

- Eval reports now record provenance: catalog hash, label-file hash, image hash
  and the code revision, so a number can be traced to the inputs that produced
  it. The catalog hash covers the CSV bytes and the view names, not image bytes:
  a re-encoded view of the same product is the same catalog.
- rebuild_catalog flags cross-SKU near-duplicates as text-discriminated
  siblings. These are the near-unknown case no threshold rejects - the geometry
  is real because the sibling shares the brand's artwork - so they are reported
  rather than refused.
- --shelf-tags turns the completeness rule into a live-ready verdict. Without
  the shelf's SKU list the verdict is 'unknown', not a guess.

Adds test_rebuild_catalog.py (11 tests; the tool had no test file). Suite 261
-> 272. Also corrects score_crop_lanes' docstring, which still described the
live path as averaging local scores when the local scale decides on the newest
crop.
2026-09-28 22:44:07 +09:00
..
web
__init__.py
app.py feat(identity): local-feature matcher plus text lane as the default backend 2026-09-28 22:27:21 +09:00
bench_engine.py
bench_identity.py
build_store_from_shelf.py
collect_shelf_images.py
detector.py
empty_shelf_detector.py
engine.py feat: finish the enrollment protocol's reporting checks 2026-09-28 22:44:07 +09:00
eval_external_images.py
eval_identity.py feat: finish the enrollment protocol's reporting checks 2026-09-28 22:44:07 +09:00
eval_live.py docs: name the local lane in the evaluators' own lane vocabulary 2026-09-28 22:34:06 +09:00
feature_matcher.py
finetune_identity.py
gallery.py feat(identity): local-feature matcher plus text lane as the default backend 2026-09-28 22:27:21 +09:00
identity.py feat(identity): local-feature matcher plus text lane as the default backend 2026-09-28 22:27:21 +09:00
identity_lanes.py feat(identity): local-feature matcher plus text lane as the default backend 2026-09-28 22:27:21 +09:00
inventory.py
live.py feat(identity): local-feature matcher plus text lane as the default backend 2026-09-28 22:27:21 +09:00
ocr.py
rebuild_catalog.py feat: finish the enrollment protocol's reporting checks 2026-09-28 22:44:07 +09:00
reconcile.py
record.py
shelf_map.py
stream_client.py
tag_cards.py
tags.py
test_api.py feat(identity): local-feature matcher plus text lane as the default backend 2026-09-28 22:27:21 +09:00
test_engine.py test: cover the local scale branch and the decision policy 2026-09-28 22:41:24 +09:00
test_eval_live.py
test_gallery.py fix: serialize gallery inference so Metal cannot be entered twice 2026-09-28 17:22:55 +09:00
test_identity.py refactor: delete the legacy session model 2026-09-28 17:47:50 +09:00
test_live.py test: cover the local scale branch and the decision policy 2026-09-28 22:41:24 +09:00
test_ocr_tags.py
test_real_model.py
test_rebuild_catalog.py feat: finish the enrollment protocol's reporting checks 2026-09-28 22:44:07 +09:00
test_reconcile.py
test_record.py
test_shelf_map.py
test_tag_cards.py
test_tag_identity.py
test_tracking.py
tracking.py
train.py
transport.py