-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New price validation page (extracted and predicted from owned proofs) #1137
Comments
As already evoked with @raphael0202 in openfoodfacts/smooth-app#6043 (comment), the tricky part, UX-wise, is the "is my proof AI-compliant enough" question? If not, the user needs to upload another image, this time "good enough". That said, the process described here is - correct me if I'm wrong:
Are you going to provide data for history proofs, or only new proofs? |
The process is described here: openfoodfacts/open-prices#526 (comment) For now only on new price tags (generated from new proofs. or at the very least proofs with 0 prices). |
We're not detecting the barcode per se, rather the EAN (digits) on the image. So a good rule of thumb for considering an image as correct is, "can we read the EAN of individual price tags?"
Category prices are supported too.
We ran this morning the extraction on all proofs fyi, it's in progress.
For historical proofs as well.
You can look at the parent issue for how I considered things, it's not limited to the current proof. It would be more like a hunger game like game. |
If it's more specifically about a "price validation page", I have 2 distinct suggestions:
Of course, as you don't really scan barcodes but just read barcode numbers, a barcode number check would make sense. |
…e some proof info, compact alert). ref #1137
Perhaps similar to openfoodfacts/smooth-app#6043 (comment) |
Fyi the current page is "alpha", there's a few things to fix
|
Story
Following a new major feature in the backend (see openfoodfacts/open-prices#611), we can start showing user's individual price tags that have been extracted from proofs, and predicted thanks to Gemini AI. This data is stored in the backend, and available via API.
Anyone could add prices on any predicted PRICE_TAG proof, but to start with we can restrict the UI to only display price tags predicted from owned proofs.
Users would upload single (or multiple) PRICE_TAG proofs in one page, and validate the extracted prices in another (to be developed).
How
To be defined :)
The text was updated successfully, but these errors were encountered: