Skip to content

Real-time and batch prediction service for Open Food Facts

License

Notifications You must be signed in to change notification settings

alex-marty/robotoff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robotoff

Build Status Code style: black

Robotoff is a service managing potential Open Food Facts updates (also known as insights). These insights include a growing set of facts, including:

  • the product category, weight, brand, packager codes and expiration date
  • some of its labels
  • abusive pictures (selfies)
  • rotated pictures
  • ingredient spellchecking

Robotoff provides an API to:

  • Fetch insights
  • Annotate an insight (accept or reject) and send the update to Open Food Facts if the insight was accepted

Once generated, the insights can be applied automatically, or after a manual validation if needs be. A scheduler takes care of regularly marking insights for automatic annotation and for sending the update to Open Food Facts.

To have further information about Robotoff, go to the Wiki.

The API documentation describes the API endpoints.

Installation

Robotoff is made of an API web server, a scheduler, a pool of asynchronous workers and a an Elasticsearch server. All these services are available as docker images. A docker-compose.yml file is used for service orchestration.

Before launching the Elasticsearch service, you may need to increase a system parameter (vm.max_map_count=262144), as described here.

To start all services, simply run:

$ docker-compose up -d

Roadmap

Licence

Robotoff is licenced under the AGPLv3.

About

Real-time and batch prediction service for Open Food Facts

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%