Real-time and batch prediction service for Openfoodfacts
Project description
Robotoff
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.
For a quickstart of Robotoff as a library, go to the Quickstart.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for robotoff-1.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62e64cb2581815ca308efd01bf1cc6aaaa810cbca6d329bc54998d69e775b583 |
|
MD5 | a88ee15f83b8b0c95bac3c9bf0e2e22c |
|
BLAKE2b-256 | 874f6c413a55a1fda920c6e2af4c4b4c0778487be476195a6a87eabdd34ad84a |