Pick a photo or upload your own. The model looks at it and decides whether the item can go on the shelf at full price, should be marked down today, or should come off the shelf.
Runs in your browser. Your photo never leaves this device.
The fruit on the belt is a drawing of what the model saw in the photo. The verdict is the model's.
Looking...
Hold one item close so it fills the dashed box. This page has no detector (the full app does), so it grades everything inside the box. The video stays on your device.
Loading the model (10 MB, once)...
Pick a fresh photo and add brown spots with the slider. The spots are painted on by this page; the verdict is the model's, run again on the edited photo each time.
Works on apples, oranges and peppers. On the other kinds the model hardly reacts to painted spots: it learned other signs of rot for those (mould, wrinkles, soft dark patches).
Choose a photo above.
The model is a fine-tuned MobileNetV2 that scored 95.8% on photos it never saw in training (20 classes: 10 kinds of produce, fresh or rotten). Sample photos come from that held-out test set: the first photo of each class that has no stock-photo watermark, plus the hard calls: picked by eye from the test photos the model puts between fresh and rotten, for still looking edible. "Bruise one yourself" paints spots on a fresh photo in the browser; the page says so whenever it shows one. The shelf life is the full app's rule of thumb (about a week when fresh, less as it rots), not a learned number.
The tiers, the "not sure" rule and the prices are the same as in the full app. The full app also finds and tracks each item in a live camera feed with a detector and forecasts spoilage; this page grades a photo, or your camera without the detector (one item filling the box).
The heat map ("what it looked at") is Grad-CAM, prepared in advance for the sample photos.