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

🎯 What can I work on ? (Python SDK) #76

Open
32 tasks
Tracked by #75
teolemon opened this issue Jan 28, 2022 · 2 comments
Open
32 tasks
Tracked by #75

🎯 What can I work on ? (Python SDK) #76

teolemon opened this issue Jan 28, 2022 · 2 comments

Comments

@teolemon
Copy link
Member

teolemon commented Jan 28, 2022

Simplify developer flow

Add new and missing features

GENERAL

  • Multilingual (180 languages are supported)
  • Create users
  • Check if users exist

READ

  • Product: you can retrieve information about products
  • Product images (get product image by field, size and language, current fields are: Front, Ingredients, Nutrition, Packaging)
  • Additives, Allergens, Environment impact, Ingredient analysis, Nutrient levels, Nutrition facts (incl. micro-nutrients)
  • Language dependant fields (like ingredients, product name, packaging text)
  • Eco-Score, Nutri-Score, NOVA groups
  • Translated, high-level and customizable product information (Attributes)
  • Product completion status
  • Folksonomy Engine (custom properties for products)
  • Open Food Facts Events (Gamification)

PERSONALIZATION

  • Recommended Daily Intakes
  • Translated, high-level and customizable product information (Attributes)
  • Autocompleting for the user inputs, by giving suggestions for (Labels, categories, ingredients, additives, traces ...)

WRITE

  • Save product to Open Food Facts
  • Send images
  • User comments and auth
  • Anonymous photo upload
  • Photo operations (rotate, crop, select, unselect with language awareness)

ML/OCR

  • Get the OCR of the ingredients photo (for validation purposes)
  • Robotoff support
  • Extract ingredients from ingredients image: User can extract the ingredients text if it is missing

Process

  • Capture the barcode of the product where you want to perform the OCR.
  • The Product Opener server software opens the image (process_image=1)
  • Product Opener returns a JSON response. Processing is done using Tesseract or Google Cloud Vision (recommended). The result is often cripped with errors with Tesseract, less with Google Cloud Vision.

Notes:

  • The OCR may contain errors. Encourage your users to correct the output using the ingredients WRITE API.
  • You can also use your own OCR, especially if to plan to send a high number of queries.

Parameters
Test server: https://world.openfoodfacts.org/cgi/ingredients.pl
code=code
id=imagefield
process_image=1

Roadmap

@teolemon teolemon pinned this issue Jan 28, 2022
@teolemon teolemon mentioned this issue Jan 29, 2022
1 task
@teolemon teolemon changed the title What can I work on ? What can I work on ? (Python SDK) May 6, 2022
@Ansh-Sarkar
Copy link

Hi ! Is the SDK still being maintained ?

@teolemon
Copy link
Member Author

@Ansh-Sarkar we're trying our best, yes

@teolemon teolemon changed the title What can I work on ? (Python SDK) 🎯 What can I work on ? (Python SDK) Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants