Einstein Platform Services

Scene Image Model

Analyze an image for a specific type of scene.

This model is used to classify a variety of indoor and outdoor scenes. You can classify an image against this model just as you would a custom model; but instead of using the modelId of the custom model, you specify a modelId of SceneClassifier. For the list of classes this model contains, see Scene Image Model Class List.

This cURL command makes a prediction against the scene image model.

curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "sampleLocation=http://einstein.ai/images/gym.jpg" -F "modelId=SceneClassifier" https://api.einstein.ai/v2/vision/predict

The model returns a result similar to the following for the image referenced by http://einstein.ai/images/gym.jpg.

{
  "probabilities": [
    {
      "label": "Gym interior",
      "probability": 0.996387
    },
    {
      "label": "Airport terminal",
      "probability": 0.0025247275
    },
    {
      "label": "Office or Cubicles",
      "probability": 0.00049142947
    },
    {
      "label": "Bus or train interior",
      "probability": 0.00019321487
    },
    {
      "label": "Restaurant patio",
      "probability": 0.000069430374
    }
  ],
  "object": "predictresponse"
}

Updated less than a minute ago

Scene Image Model


Analyze an image for a specific type of scene.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.