Ocr

OCR on Ingredients

Open Food Facts uses optical character recognition (OCR) to retrieve nutritional data and other information from the product labels.

GET
/cgi/ingredients.pl

Query Parameters

idstring
codestring

Barcode of the product

process_imagestring
ocr_enginestring

Response Body

curl -X GET "https://world.openfoodfacts.net/cgi/ingredients.pl?id=ingredients_en&code=4251105501381&process_image=1&ocr_engine=google_cloud_vision"
{
  "status": 1
}