Skip to content
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

Implement Robotoff nutrition prediction route #738

Open
Tracked by #218
teolemon opened this issue Jun 2, 2023 · 3 comments
Open
Tracked by #218

Implement Robotoff nutrition prediction route #738

teolemon opened this issue Jun 2, 2023 · 3 comments

Comments

@teolemon
Copy link
Member

teolemon commented Jun 2, 2023

What

@monsieurtanuki
Copy link
Contributor

@teolemon @raphael0202 Not really sure what we try to achieve here, but maybe I'm mislead by my unsuccessful tests.

I get the following result with https://robotoff.openfoodfacts.org/api/v1/predict/nutrition?barcode=7300400481588&image_ids=55:

{"predictions":[],"image_ids":["55"]}

While the image 55 is something like that:
Capture d’écran 2023-07-30 à 18 12 00

Other points:

  • we don't specify language or country, which is also disconcerting
  • "imageIds" images can be big and include much more that nutrition facts, which may be problematic (for the AI) in order to focus on nutrition only

@raphael0202
Copy link

The current endpoint only works well on "text" nutrition tables. I would be in favor of waiting for a proper generic model for nutrition information extraction to be developed before its integration in Smoothie.

@teolemon
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 💬 To discuss and validate
Development

No branches or pull requests

3 participants