Classify an image using a pre-trained model.
At the moment, the only supported model is the
ResNet50 model,
a deep learning model that excels at image classification tasks.
image_id
string
required
The unique identifier of the image to classify.
main_label
string
The main label of the image. This is the label with the highest probability.
main_score
number
The score of the main label. The score is a number between 0 and 1, where 1 is the highest probability.
secondary_lables
array
A list of labels and their probabilities for the image.
label
string
The label of the image.
score
number
The score of the label. The score is a number between 0 and 1, where 1 is the highest probability.