{
  "schema_version": 1,
  "status": "actual local inference completed",
  "model": {
    "name": "YOLOX-S",
    "publisher": "OpenCV Zoo",
    "weights": "object_detection_yolox_2022nov.onnx",
    "weights_sha256": "c5c2d13e59ae883e6af3b45daea64af4833a4951c92d116ec270d9ddbe998063",
    "weights_bytes": 35858002,
    "weights_url": "https://huggingface.co/opencv/object_detection_yolox/resolve/main/object_detection_yolox_2022nov.onnx",
    "license": "Apache-2.0",
    "license_url": "https://huggingface.co/opencv/object_detection_yolox/blob/main/LICENSE",
    "classes": "80 COCO categories; class_id is zero-based contiguous model index"
  },
  "image": {
    "file": "office-coffee-keyboard-mouse.jpg",
    "width": 1600,
    "height": 1067,
    "sha256": "a9b4bf2e1ffe4cbc7c4ddc2ae18615d04e59a43c73c28fbb266c672f7778ada0",
    "photographer": "Toni Cuenca",
    "source_url": "https://www.pexels.com/photo/flat-lay-photography-of-apple-magic-keyboard-mouse-and-mug-filled-with-coffee-beside-beans-585752/",
    "license": "Pexels License",
    "license_url": "https://www.pexels.com/license/"
  },
  "processing": {
    "input_size": [
      640,
      640
    ],
    "resize": "top-left letterbox, RGB float32 0..255, padding 114",
    "resize_ratio": 0.4,
    "confidence_threshold": 0.5,
    "confidence_definition": "objectness multiplied by highest class probability",
    "nms_iou_threshold": 0.5,
    "nms": "OpenCV NMSBoxesBatched, class-aware",
    "box_format": "xyxy in original-image pixels; floating point, unclipped",
    "postprocessing": "all retained detections included; no manual edits or removals",
    "raw_candidates": 8400,
    "single_cpu_forward_ms": 257.6898010011064,
    "timing_note": "one local CPU forward pass; not a performance benchmark"
  },
  "runtime": {
    "python": "3.12.14",
    "opencv": "4.13.0",
    "numpy": "2.5.3",
    "backend": "OpenCV DNN",
    "target": "CPU"
  },
  "detection_count": 3,
  "counts": {
    "keyboard": 1,
    "mouse": 1,
    "cup": 1
  },
  "detections": [
    {
      "candidate_index": 8207,
      "class_id": 66,
      "label": "keyboard",
      "confidence": 0.9538754820823669,
      "objectness": 0.9898924827575684,
      "class_probability": 0.9636152386665344,
      "box_xyxy": [
        171.3335418701172,
        531.6249389648438,
        1137.7698211669922,
        984.9402770996094
      ],
      "display_color": "#F1B64D"
    },
    {
      "candidate_index": 7192,
      "class_id": 64,
      "label": "mouse",
      "confidence": 0.9213631749153137,
      "objectness": 0.9852480888366699,
      "class_probability": 0.9351585507392883,
      "box_xyxy": [
        1171.211181640625,
        583.8217163085938,
        1382.0807037353516,
        978.3192749023438
      ],
      "display_color": "#5ED7C3"
    },
    {
      "candidate_index": 6793,
      "class_id": 41,
      "label": "cup",
      "confidence": 0.8860986232757568,
      "objectness": 0.9477799534797668,
      "class_probability": 0.9349201917648315,
      "box_xyxy": [
        1105.62646484375,
        159.50674438476562,
        1482.6537780761719,
        605.4280395507812
      ],
      "display_color": "#B5BCFF"
    }
  ]
}
