Hugging Face · Schema

ObjectDetectionResult

Properties

Name Type Description
label string Detected object label
score number Detection confidence score
box object
View JSON Schema on GitHub

JSON Schema

hugging-face-objectdetectionresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ObjectDetectionResult",
  "title": "ObjectDetectionResult",
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "description": "Detected object label",
      "example": "Example Title"
    },
    "score": {
      "type": "number",
      "format": "float",
      "description": "Detection confidence score",
      "example": 42.5
    },
    "box": {
      "type": "object",
      "properties": {
        "xmin": {
          "type": "integer"
        },
        "ymin": {
          "type": "integer"
        },
        "xmax": {
          "type": "integer"
        },
        "ymax": {
          "type": "integer"
        }
      },
      "example": "example_value"
    }
  }
}