(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.
Ā
For itemized intakes, an additional attribute named nutritional_info_per_item may be returned with the nutritional information for each food item.
This includes both segmentation intakes and mixed/manual intakes. Mixed/manual food-item positions use values such as manual1, manual2, ...
Ā
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.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests⦠| |||
400Bad request.
401Unauthorized, invalid token
403You are not allowed to this method.
404The specified URL was not found or couldnāt be retrieved
