Food Classifier

Identify over 500 different foods with this pre-made food classifier. Common use cases revolve around diet or cooking applications. To see all the individual foods it can identify click the class list below.

Documentation Class list

Model id

FoodImageClassifier

Request & response

$ curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "sampleLocation=http://einstein.ai/images/foodimage.jpg" -F "modelId=FoodImageClassifier" https://api.einstein.ai/v2/vision/predict
{
  "probabilities": [
    {
      "label": "pizza",
      "probability": 0.4895147383213043
    },
    {
      "label": "flatbread",
      "probability": 0.30357491970062256
    },
    {
      "label": "focaccia",
      "probability": 0.10683325678110123
    },
    {
      "label": "frittata",
      "probability": 0.05281512811779976
    },
    {
      "label": "pepperoni",
      "probability": 0.029621008783578873
    }
  ],
  "object": "predictresponse"
}
x
We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.