General Classifier
This model can classify thousands of unique objects found in a given image. The general image classifier performs single label classification on an image. So it’s best used when detecting the presence of at least one of the objects it’s trained to recognize. To see all the individual object it can identify click the class list below.
Model Id
GeneralImageClassifier
Request & Response
$ curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "sampleLocation=http://einstein.ai/images/generalimage.jpg" -F "modelId=GeneralImageClassifier" https://api.einstein.ai/v2/vision/predict
{ "probabilities": [ { "label": "tree frog, tree-frog", "probability": 0.7963114976882935 }, { "label": "tailed frog, bell toad, ribbed toad, tailed toad, Ascaphus trui", "probability": 0.1978749930858612 }, { "label": "banded gecko", "probability": 0.001511271228082478 }, { "label": "African chameleon, Chamaeleo chamaeleon", "probability": 0.0013212867779657245 }, { "label": "bullfrog, Rana catesbeiana", "probability": 0.0011536618694663048 } ], "object": "predictresponse" }