Scene Classifier

The scene classifier can identify 74 different indoor and outdoor scenes. Among many things, this model is useful for finding correlations between your product and the environment it’s often found in. To see all the individual scenes it can identify click the class list below.

Documentation Class list

Model id

SceneClassifier

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/gym.jpg" -F "modelId=SceneClassifier" https://api.einstein.ai/v2/vision/predict
{
  "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"
}