Metadata-Version: 2.1
Name: robotoff
Version: 1.0.6
Summary: Real-time and batch prediction service for Openfoodfacts
Home-page: https://github.com/openfoodfacts/robotoff
Author: Openfoodfacts Team
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: requests (<3.0.0,>=2.13.0)
Requires-Dist: peewee (==3.10.0)
Requires-Dist: psycopg2-binary (<2.9,>=2.8)
Requires-Dist: elasticsearch (==6.3.1)
Requires-Dist: Click (==7.0)
Requires-Dist: sentry-sdk (==0.7.6)
Requires-Dist: Pillow (>=5.0.0)
Requires-Dist: numpy (>=1.9.1)
Requires-Dist: protobuf (>=3.5.1)
Requires-Dist: Pint (==0.9)

# Robotoff

[![Build Status](https://travis-ci.org/openfoodfacts/robotoff.svg?branch=master)](https://travis-ci.org/openfoodfacts/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](https://github.com/openfoodfacts/robotoff/blob/master/doc/api.md) 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.


