Skip to main content

Real-time and batch prediction service for Openfoodfacts

Project description

Robotoff

Build Status

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:

  • import a batch of insights in JSONL format
  • Fetch insights
  • Annotate an insight (accept or reject) and send the update to Openfoodfacts 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 Openfoodfacts.

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.

To start all services, simply run:

$ docker-compose up -d

Licence

Robotoff is licenced under the AGPLv3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotoff-1.0.6.tar.gz (68.2 kB view hashes)

Uploaded Source

Built Distribution

robotoff-1.0.6-py3-none-any.whl (107.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page