šŸ”“šŸ”µ Identifies the nutritional information for the dishes on the image. ā±

(S) Limited amount of calls per second.

Ā 

This endpoint provides all the nutritional information of the provided imageId or class_id. Make sure you first confirm the correct food items with the /confirm/dish endpoint before calling this. Otherwise, the top 1 predictions for each of the detected food item positions will be considered the correct ones and will be returned in this endpoint.

Ā 

If a food segmentation has been applied on the image (see /segmentation endpoints), then an extra attribute named 'nutritional_info_per_item' will be returned in the response. This contains the detailed nutritional information for each of the food segments/regions that have been detected or confirmed on the image.

Ā 

Some extra information related to the daily intake reference is also provided, which serves as a fast and simple way to compare the nutritional information of the intake with what is the global average intake expected from people (note that these are just approximations).

The way the 'dailyIntakeReference' levels are generated is the following:

  • LOW - If the intake represents less than 20% of the daily reference value
  • MEDIUM - If the intake represents more than 20% and less than 35% of the daily reference value
  • HIGH - If the intake represents equal or more than 35% of the daily reference value
  • NONE - If the reference value could not be calculated or the nutritional indicator has the levels disabled.

Ā 

Unless an automated quantity recognition is done on the image or the /confirm/quantity endpoint has been used, all the information provided is scaled to the standard/average portion for a single person.

Ā 

Be aware that not all the entries of this response will contain nutritional information. If the images have not been confirmed or don't have any prediction on a dish level, the nutritional information won't be generated. If the element from the intake list has the flag 'hasNutritionalInfo' set to False, 'nutritional_info' won't be present in the object. Also, confirmed dishes that are not in the 'logmeal' database won't contribute to the nutritional information. They will still be returned in the 'foodNames' field, and will be represented with a null value in the 'ids' field.

Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!