šŸ”“ Confirm food group after applying image recognition.

With this endpoint, the user has the option to confirm which of the predicted food groups in the image are the correct ones. Please see endpoint '/v2/image/segmentation/complete' for more information on food groups predictions.

The user can provide a list of food groups for all the dishes present in the image. These food groups must be from the logmeal database. The complete list of available food groups can be obtained by calling the endpoint '/v2/dataset/foodGroups'.

Ā 

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required

String containing the version of the recognition algorithm/model. If not provided, the endpoint will default to the first version listed in /version/activeModels

Allowed:
Query Params
string
enum

Desired language for the response. It must be a three-letter ISO 639-2/T code. Defaults to the APIUser's assigned language or english.

Body Params

Parameters sent in data, in json format

integer
required

ID of the image which will have it's food groups confirmed.

confirmedFoodGroups
array of integers
required

Food group ids to be confirmed for the provided imageId. This variable is a list of integers.

confirmedFoodGroups*
Responses

401

Unauthorized, invalid token

403

You are not allowed to this method.

404

The specified URL was not found or couldn’t be retrieved

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json