šŸ”“ Multiple Food Dishes Segmentation ā± Detects every food item on the image, recognises it and then automatically estimates the food quantity present in it.

Ā© Consumes your monthly credits. Limited amount of monthly calls, exceeding calls will be charged as extras.

(D) Limited amount of daily calls per user.

(S) Limited amount of calls per second.

Ā 

It applies the same food segmentation procedure as in /image/segmentation/complete and additionally it automatically calculates the food quantity for each of the detected regions.

Ā 

Geographic Personalization: we recommend setting the country parameter associated to the end-user (APIUser) before applying any food recognition/segmentation call. See any /modifyUserProfileInfo endpoint for additional details.

Ā 

IMPORTANT: the food quantity procedure runs in background, this means that immediately after this food recognition request finishes, the food quantity will not be calculated yet. If you use any endpoint that retrieves ingredients, nutritional information or any other intake-related data, standard food quantities will be presented. After some seconds, immediately when the quantity estimation ends, all values for all endpoint calls will be automatically updated. You can get a status of the quantity estimation procedure by calling either GET /intake or GET /history/getIntakesList and checking the attribute 'quantity_prediction_status'.

Ā 

Additionally, any endpoint and internal procedure that is based on food quantity uses by default the automatically estimated food quantity (e.g. ingredients definition or nutritional information estimation). Note that the segmentation_results might not be directly applicable to the uploaded image size. The segmentation pixel values are scaled depending on the 'processed_image_size' values provided for each of the images (the images might be sometimes resized depending on the needs of the food recognition algorithms used).

Ā 

In order to compute the food quantity a video sequence has to be provided. The video must be extracted using the LogMeal SDK, that you will have to integrate into your App accordingly. Two SDKs are available, the iOS SDK and the Android SDK.

Ā 

IMPORTANT: Note that this endpoint has two parameters in the request body ('image' and 'sequence') which are in the 'multipart/form-data', and the remaining parameters are in 'application/json'. You can check it from the dropdown from the right corner.

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