-
-
Notifications
You must be signed in to change notification settings - Fork 39
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 game: Ingredient crop #714
Comments
The idea was not only to select and crop the ingredient image, but also to update the ingredient list. We now have an ingredient detection model in production (demo: https://huggingface.co/spaces/raphael0202/ingredient-extraction?barcode=3800106400226) If the ingredient list is correct, we're 100% sure about the crop, as cropping coordinates are inferred from the words bounding boxes. Concerning the input feed of products, we can fetch products that have quality errors/warnings related to ingredients, ordered by descending popularity. I'm not certain of what the interface should look like, as there are many use cases we want to cover (products without ingredient lists, products with ingredient list but without quality errors), products with more recent ingredient lists detected by the model,... |
I'm trying the API to reproduce this example: https://huggingface.co/spaces/raphael0202/ingredient-extraction?barcode=3800106400226 The OCR exists: https://static.openfoodfacts.org/images/products/380/010/640/0226/2.json But this API call returns Internale server error By the way is it possible to get the result for multiple images of a product? |
It was not fully deployed on prod, only on staging. I'm finishing the deployment on prod. |
It's working now. To get the result for multiple images, for now you can simply send multiple requests! |
Yes, perfectly 👍 |
The idea would be to create a simple page to crop images with ingredients
Would requires APIs to
Open question: how do we store which image has been correctly cropped and then is ready for the future ingredient extraction game?
@raphael0202 is it what you have in mind?
The text was updated successfully, but these errors were encountered: