feat: a live path that uses the enrolled store, and a demo server a phone can reach
The live session scored crops with the matcher regardless of the configured identity backend, so a live scan used the old mechanism while the still path used the enrolled gallery - measured, the matcher accepts look-alikes and cannot say "unknown", which is exactly what a real shelf needs it to do. score_crop now routes to the gallery, and the decision uses a similarity scale (accept at 0.60 with a 0.04 margin) rather than inlier-count thresholds that mean nothing on a cosine. The synthetic walk is gone: demo.py, demo_replay.py, the /v1/demo endpoints and the walk benchmark are deleted, and the app's frame source is the camera on a device (the single-image replay stays for the simulator, which has no camera). stock-demo merges both demo shelves (27 products, 62 views, trained head) so one server recognises either image, and run-demo-server.sh starts it bound to 0.0.0.0 and prints the exact URL to put in Config.xcconfig. Verified over the LAN with 1280x960 frames: 40 frames in 5.3s, 9 products recognised on demo image 1. Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
BIN
recognization/stock-demo/identity_head.pt
Normal file
BIN
recognization/stock-demo/sku_k01.jpeg
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
recognization/stock-demo/sku_k01_1.jpeg
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
recognization/stock-demo/sku_k01_2.jpeg
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
recognization/stock-demo/sku_k01_3.jpeg
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
recognization/stock-demo/sku_k01_4.jpeg
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
recognization/stock-demo/sku_k01_5.jpeg
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
recognization/stock-demo/sku_k01_6.jpeg
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
recognization/stock-demo/sku_k01_7.jpeg
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
recognization/stock-demo/sku_k01_8.jpeg
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
recognization/stock-demo/sku_k02.jpeg
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
recognization/stock-demo/sku_k02_1.jpeg
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
recognization/stock-demo/sku_k02_2.jpeg
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
recognization/stock-demo/sku_k02_3.jpeg
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
recognization/stock-demo/sku_k02_4.jpeg
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
recognization/stock-demo/sku_k02_5.jpeg
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
recognization/stock-demo/sku_k02_6.jpeg
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
recognization/stock-demo/sku_k03.jpeg
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
recognization/stock-demo/sku_k03_1.jpeg
Normal file
|
After Width: | Height: | Size: 6 KiB |
BIN
recognization/stock-demo/sku_k03_2.jpeg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
recognization/stock-demo/sku_k04.jpeg
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
recognization/stock-demo/sku_k04_1.jpeg
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
recognization/stock-demo/sku_k04_2.jpeg
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
recognization/stock-demo/sku_k04_3.jpeg
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
recognization/stock-demo/sku_k04_4.jpeg
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
recognization/stock-demo/sku_k04_5.jpeg
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
recognization/stock-demo/sku_k04_6.jpeg
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
recognization/stock-demo/sku_k04_7.jpeg
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
recognization/stock-demo/sku_k04_8.jpeg
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
recognization/stock-demo/sku_k05.jpeg
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
recognization/stock-demo/sku_k05_1.jpeg
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
recognization/stock-demo/sku_k05_2.jpeg
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
recognization/stock-demo/sku_k06.jpeg
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
recognization/stock-demo/sku_k07.jpeg
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
recognization/stock-demo/sku_k07_1.jpeg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
recognization/stock-demo/sku_k08.jpeg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
recognization/stock-demo/sku_k08_1.jpeg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
recognization/stock-demo/sku_k09.jpeg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
recognization/stock-demo/sku_k09_1.jpeg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
recognization/stock-demo/sku_k09_2.jpeg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
recognization/stock-demo/sku_k10.jpeg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
recognization/stock-demo/sku_k10_1.jpeg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
recognization/stock-demo/sku_k10_2.jpeg
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
recognization/stock-demo/sku_k11.jpeg
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
recognization/stock-demo/sku_k11_1.jpeg
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
recognization/stock-demo/sku_k12.jpeg
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
recognization/stock-demo/sku_k13.jpeg
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
recognization/stock-demo/sku_m01.jpeg
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
recognization/stock-demo/sku_m01_1.jpeg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
recognization/stock-demo/sku_m01_2.jpeg
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
recognization/stock-demo/sku_m02.jpeg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
recognization/stock-demo/sku_m03.jpeg
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
recognization/stock-demo/sku_m04.jpeg
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
recognization/stock-demo/sku_m05.jpeg
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
recognization/stock-demo/sku_m06.jpeg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
recognization/stock-demo/sku_m07.jpeg
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
recognization/stock-demo/sku_m08.jpeg
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
recognization/stock-demo/sku_m09.jpeg
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
recognization/stock-demo/sku_m10.jpeg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
recognization/stock-demo/sku_m11.jpeg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
recognization/stock-demo/sku_m12.jpeg
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
recognization/stock-demo/sku_m13.jpeg
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
recognization/stock-demo/sku_m14.jpeg
Normal file
|
After Width: | Height: | Size: 13 KiB |
28
recognization/stock-demo/stock.csv
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
SKU_ID,product_name,receipt_date,expiration_date,number_in,number_out,number_on,image_link,price
|
||||
sku_m01,小岩井 低脂肪牛乳,2026-09-25,2026-10-20,24,8,16,'',186
|
||||
sku_m02,荻山酪農 カフェ・オ・レ,2026-09-25,2026-10-20,24,8,16,'',397
|
||||
sku_m03,丹那 3.6牛乳,2026-09-25,2026-10-20,24,8,16,'',214
|
||||
sku_m04,木次 ミルクコーヒー,2026-09-25,2026-10-20,24,8,16,'',195
|
||||
sku_m05,木次 パスチャライズ牛乳,2026-09-25,2026-10-20,24,8,16,'',240
|
||||
sku_m06,キスキ ブラウン・スイス牛乳,2026-09-25,2026-10-20,24,8,16,'',254
|
||||
sku_m07,丹那 飲んでやさしいヨーグルト,2026-09-25,2026-10-20,24,8,16,'',225
|
||||
sku_m08,農場3.7牛乳 特選,2026-09-25,2026-10-20,24,8,16,'',216
|
||||
sku_m09,MINOR FIGURES OAT,2026-09-25,2026-10-20,24,8,16,'',300
|
||||
sku_m10,北海道 低脂肪乳,2026-09-25,2026-10-20,24,8,16,'',214
|
||||
sku_m11,タカナシ 低温殺菌牛乳,2026-09-25,2026-10-20,24,8,16,'',396
|
||||
sku_m12,RUDE HEALTH Oat Organic,2026-09-25,2026-10-20,24,8,16,'',400
|
||||
sku_m13,小岩井 無脂肪牛乳,2026-09-25,2026-10-20,24,8,16,'',178
|
||||
sku_m14,きすき ノンホモ牛乳,2026-09-25,2026-10-20,24,8,16,'',198
|
||||
sku_k01,明治 おいしい牛乳,2026-09-25,2026-10-15,48,20,28,'',198
|
||||
sku_k02,ゆうパック 優良牛乳,2026-09-25,2026-10-15,48,20,28,'',130
|
||||
sku_k03,酪農家限定 低温殺菌牛乳,2026-09-25,2026-10-15,48,20,28,'',248
|
||||
sku_k04,北海道牛乳,2026-09-25,2026-10-15,48,20,28,'',178
|
||||
sku_k05,MEGMILK,2026-09-25,2026-10-15,48,20,28,'',158
|
||||
sku_k06,毎日牛乳,2026-09-25,2026-10-15,48,20,28,'',168
|
||||
sku_k07,タカナシ 低温殺菌牛乳,2026-09-25,2026-10-15,48,20,28,'',258
|
||||
sku_k08,タカナシ 殺菌低脂肪牛乳,2026-09-25,2026-10-15,48,20,28,'',198
|
||||
sku_k09,毎日骨太,2026-09-25,2026-10-15,48,20,28,'',148
|
||||
sku_k10,カルシウム入り低脂肪乳,2026-09-25,2026-10-15,48,20,28,'',145
|
||||
sku_k11,無脂肪牛乳,2026-09-25,2026-10-15,48,20,28,'',138
|
||||
sku_k12,低脂肪牛乳,2026-09-25,2026-10-15,48,20,28,'',120
|
||||
sku_k13,ミルク,2026-09-25,2026-10-15,48,20,28,'',260
|
||||
|