product-recognition-demo/recognization/stock-mediya/stock.csv
kiyo9w 383ff9cf2d feat: two demo shelves, enrolled, plus the price-card filter they forced out
Two real store photographs, chosen for density and for products that look different
from each other, each with its own enrolled store:

  demo-images/demo-image-1-mediya-dairy.jpg   CC0        MEDIYA dairy case
      21 products kept (13 price cards dropped), 16 recognised, all 14 products named
  demo-images/demo-image-2-milk-case.jpg      CC BY 2.0  supermarket milk case
      56 detections, 49 recognised, all 13 products named

Both were enrolled the way a store would be: the products were read off a contact
sheet of the detections, their crops became the store's gallery (stock-mediya,
stock-milk150), and a head was trained on them. `build_store_from_shelf.py` is that
flow.

The filter came out of the first image. Every Japanese supermarket photo has the same
artifact: the detector boxes the shelf-edge price cards as products, because a card is
roughly the shape of a pack - 13 of 34 detections on image 1 were cards. Their text
separates them cleanly: a card's characters are 30-44% digits and it prints the
tax-excluded price (本体), while a product's are 3-19% digits. Cards are now dropped
before classification, and the count is reported as `price_cards_dropped` rather than
hidden.

demo-images/README.md records how to run both, what the demo shows, and the honest
caveat: both shelves are enrolled, so the recognition rate is in-distribution - what
the app does on a shelf it has been onboarded to, not on one it has never seen.

175 tests pass.

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-25 09:34:29 +09:00

1.1 KiB

1SKU_IDproduct_namereceipt_dateexpiration_datenumber_innumber_outnumber_onimage_linkprice
2sku_m01小岩井 低脂肪牛乳2026-09-252026-10-2024816''186
3sku_m02荻山酪農 カフェ・オ・レ2026-09-252026-10-2024816''397
4sku_m03丹那 3.6牛乳2026-09-252026-10-2024816''214
5sku_m04木次 ミルクコーヒー2026-09-252026-10-2024816''195
6sku_m05木次 パスチャライズ牛乳2026-09-252026-10-2024816''240
7sku_m06キスキ ブラウン・スイス牛乳2026-09-252026-10-2024816''254
8sku_m07丹那 飲んでやさしいヨーグルト2026-09-252026-10-2024816''225
9sku_m08農場3.7牛乳 特選2026-09-252026-10-2024816''216
10sku_m09MINOR FIGURES OAT2026-09-252026-10-2024816''300
11sku_m10北海道 低脂肪乳2026-09-252026-10-2024816''214
12sku_m11タカナシ 低温殺菌牛乳2026-09-252026-10-2024816''396
13sku_m12RUDE HEALTH Oat Organic2026-09-252026-10-2024816''400
14sku_m13小岩井 無脂肪牛乳2026-09-252026-10-2024816''178
15sku_m14きすき ノンホモ牛乳2026-09-252026-10-2024816''198