{
  "samples": [
    {
      "at": 1299766.540115225,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299766.689224407,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447045.8649378,
                "source_stage": "consume_entered",
                "source_stage_at": 1789447045.8867748,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447045.86325,
                  "preprocess_output": 1789447045.868382,
                  "infer_output": 1789447045.871169,
                  "consume_entered": 1789447045.8867748,
                  "native_completed": 1789447045.6971424,
                  "inference_frame_completed": 1789447045.8649166
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 196,
                  "preprocess_output": 196,
                  "infer_output": 195,
                  "consume_entered": 195,
                  "native_completed": 194,
                  "inference_frame_completed": 156
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 21.2,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299766645788157,
                "counts": {
                  "decoded": 196,
                  "selected": 196,
                  "preprocess": 196,
                  "infer": 195,
                  "native": 194,
                  "result": 156,
                  "publisher_submit": 156
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299766610520604,
                  "selected": 1299766610562033,
                  "preprocess": 1299766615657343,
                  "infer": 1299766618471449,
                  "native": 1299766444500611,
                  "result": 1299766611479798,
                  "publisher_submit": 1299766612309584
                },
                "detail": true,
                "pending_samples": 3,
                "last_frame": {
                  "selected": [
                    195,
                    19675462028
                  ],
                  "preprocess": [
                    195,
                    19675462028
                  ],
                  "infer": [
                    194,
                    19575462028
                  ],
                  "native": [
                    193,
                    19475462028
                  ],
                  "result": [
                    181,
                    18275462028
                  ],
                  "publisher_submit": [
                    181,
                    18275462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 3,
                    "mean_ms": 5.010074333333333,
                    "p95_ms": 8.942401,
                    "max_ms": 8.942401
                  },
                  "preprocess_to_infer": {
                    "samples": 2,
                    "mean_ms": 29.468163,
                    "p95_ms": 37.929789,
                    "max_ms": 37.929789
                  },
                  "infer_to_native": {
                    "samples": 1,
                    "mean_ms": 20.29998,
                    "p95_ms": 20.29998,
                    "max_ms": 20.29998
                  },
                  "tracking": {
                    "samples": 1,
                    "mean_ms": 339.856811,
                    "p95_ms": 339.856811,
                    "max_ms": 339.856811
                  },
                  "tracking_cpu": {
                    "samples": 1,
                    "mean_ms": 54.219379,
                    "p95_ms": 54.219379,
                    "max_ms": 54.219379
                  },
                  "scenario_cpu": {
                    "samples": 1,
                    "mean_ms": 1.205854,
                    "p95_ms": 1.205854,
                    "max_ms": 1.205854
                  },
                  "scenario": {
                    "samples": 1,
                    "mean_ms": 1.219053,
                    "p95_ms": 1.219053,
                    "max_ms": 1.219053
                  },
                  "result_work": {
                    "samples": 1,
                    "mean_ms": 348.571728,
                    "p95_ms": 348.571728,
                    "max_ms": 348.571728
                  },
                  "queue": {
                    "samples": 1,
                    "mean_ms": 952.380685,
                    "p95_ms": 952.380685,
                    "max_ms": 952.380685
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": []
              },
              "queued": 8,
              "events_created": 11,
              "processed": 156,
              "stale": 29
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 156,
            "per_task_buffers": {
              "det": 156
            },
            "latest": {
              "fn": 181,
              "det": 9,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299766.689284077,
            "entries": 156,
            "length": 30,
            "last": "1789447045867-0",
            "pttl": 9893,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 181,
              "ptsNs": 18275462028,
              "ingestTimeWallMs": 1789447044447,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1193370473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447044339,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9048188328742981,
                  "bbox": [
                    0.7047119140625,
                    0.3216552734375,
                    0.7786865234375,
                    0.7154541015625
                  ],
                  "trackId": 561,
                  "eventIds": [
                    "76ac4f4d-66c2-436f-afc2-1d651fc283bf"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.74169921875,
                        0.7154541015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "76ac4f4d-66c2-436f-afc2-1d651fc283bf"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8870089650154114,
                  "bbox": [
                    0.51336669921875,
                    0.35858154296875,
                    0.56085205078125,
                    0.55108642578125
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "59c2e5d2-1e36-477b-9fc6-d94dcb934be5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.537109375,
                        0.55108642578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "59c2e5d2-1e36-477b-9fc6-d94dcb934be5"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8832359910011292,
                  "bbox": [
                    0.38179779052734375,
                    0.39215087890625,
                    0.40628814697265625,
                    0.52923583984375
                  ],
                  "trackId": 641,
                  "eventIds": [
                    "a448b6ea-a691-41f5-99ea-375061b16750"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.39404296875,
                        0.52923583984375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a448b6ea-a691-41f5-99ea-375061b16750"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8775817155838013,
                  "bbox": [
                    0.801483154296875,
                    0.3409423828125,
                    0.866485595703125,
                    0.6746826171875
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.833984375,
                        0.6746826171875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7783125042915344,
                  "bbox": [
                    0.6158294677734375,
                    0.45037841796875,
                    0.6527252197265625,
                    0.55059814453125
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63427734375,
                        0.55059814453125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6442250609397888,
                  "bbox": [
                    0.654510498046875,
                    0.447296142578125,
                    0.684356689453125,
                    0.533172607421875
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66943359375,
                        0.533172607421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5687152743339539,
                  "bbox": [
                    0.632781982421875,
                    0.46710205078125,
                    0.658233642578125,
                    0.55535888671875
                  ],
                  "trackId": 801,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6455078125,
                        0.55535888671875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299766.902758053,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447045.963166,
                "source_stage": "consume_entered",
                "source_stage_at": 1789447046.0012233,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447045.929171,
                  "preprocess_output": 1789447045.9423823,
                  "infer_output": 1789447045.9883194,
                  "consume_entered": 1789447046.0012233,
                  "native_completed": 1789447045.932358,
                  "inference_frame_completed": 1789447045.9631307
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 150,
                  "preprocess_output": 150,
                  "infer_output": 150,
                  "consume_entered": 150,
                  "native_completed": 149,
                  "inference_frame_completed": 118
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 17.2,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299766773506617,
                "counts": {
                  "decoded": 150,
                  "selected": 150,
                  "preprocess": 150,
                  "infer": 150,
                  "native": 149,
                  "result": 118,
                  "publisher_submit": 118
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299766676515033,
                  "selected": 1299766676536021,
                  "preprocess": 1299766689747101,
                  "infer": 1299766735590686,
                  "native": 1299766679728037,
                  "result": 1299766709427837,
                  "publisher_submit": 1299766710520348
                },
                "detail": true,
                "pending_samples": 3,
                "last_frame": {
                  "selected": [
                    149,
                    16872222057
                  ],
                  "preprocess": [
                    149,
                    16872222057
                  ],
                  "infer": [
                    149,
                    16872222057
                  ],
                  "native": [
                    148,
                    16772222057
                  ],
                  "result": [
                    135,
                    15472222057
                  ],
                  "publisher_submit": [
                    135,
                    15472222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 3,
                    "mean_ms": 9.528470666666665,
                    "p95_ms": 14.003814,
                    "max_ms": 14.003814
                  },
                  "preprocess_to_infer": {
                    "samples": 3,
                    "mean_ms": 51.40945766666666,
                    "p95_ms": 64.564887,
                    "max_ms": 64.564887
                  },
                  "infer_to_native": {
                    "samples": 2,
                    "mean_ms": 28.577506,
                    "p95_ms": 32.376792,
                    "max_ms": 32.376792
                  },
                  "tracking": {
                    "samples": 1,
                    "mean_ms": 420.78036,
                    "p95_ms": 420.78036,
                    "max_ms": 420.78036
                  },
                  "tracking_cpu": {
                    "samples": 1,
                    "mean_ms": 57.898922,
                    "p95_ms": 57.898922,
                    "max_ms": 57.898922
                  },
                  "scenario_cpu": {
                    "samples": 1,
                    "mean_ms": 1.236471,
                    "p95_ms": 1.236471,
                    "max_ms": 1.236471
                  },
                  "scenario": {
                    "samples": 1,
                    "mean_ms": 1.248093,
                    "p95_ms": 1.248093,
                    "max_ms": 1.248093
                  },
                  "result_work": {
                    "samples": 1,
                    "mean_ms": 427.679697,
                    "p95_ms": 427.679697,
                    "max_ms": 427.679697
                  },
                  "queue": {
                    "samples": 1,
                    "mean_ms": 990.911139,
                    "p95_ms": 990.911139,
                    "max_ms": 990.911139
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": []
              },
              "queued": 9,
              "events_created": 6,
              "processed": 118,
              "stale": 21
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 118,
            "per_task_buffers": {
              "det": 118
            },
            "latest": {
              "fn": 135,
              "det": 8,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299766.902790487,
            "entries": 118,
            "length": 30,
            "last": "1789447045965-0",
            "pttl": 9777,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 135,
              "ptsNs": 15472222057,
              "ingestTimeWallMs": 1789447044519,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3321304188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470688047,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9694401025772095,
                  "bbox": [
                    0.2628173828125,
                    0.001953125,
                    0.5599365234375,
                    0.99072265625
                  ],
                  "trackId": 641,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.411376953125,
                        0.99072265625
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9384632706642151,
                  "bbox": [
                    0.81585693359375,
                    0.27001953125,
                    0.94488525390625,
                    0.98681640625
                  ],
                  "trackId": 561,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.88037109375,
                        0.98681640625
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8590735793113708,
                  "bbox": [
                    0.5371856689453125,
                    0.3580322265625,
                    0.5663299560546875,
                    0.5413818359375
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "7a69619e-e542-4842-b324-5d7dff328b53"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.5517578125,
                        0.5413818359375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a69619e-e542-4842-b324-5d7dff328b53"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8307315111160278,
                  "bbox": [
                    0.6165618896484375,
                    0.44366455078125,
                    0.6539459228515625,
                    0.54803466796875
                  ],
                  "trackId": 241,
                  "eventIds": [
                    "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.54803466796875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7411122918128967,
                  "bbox": [
                    0.6546096801757812,
                    0.446319580078125,
                    0.6852340698242188,
                    0.540008544921875
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.540008544921875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6822562217712402,
                  "bbox": [
                    0.6329574584960938,
                    0.46728515625,
                    0.6570816040039062,
                    0.55517578125
                  ],
                  "trackId": 321,
                  "eventIds": [
                    "a886bd24-d18f-4866-8051-2335c36a288e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64501953125,
                        0.55517578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a886bd24-d18f-4866-8051-2335c36a288e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 315,
          "sent_status": 43,
          "sent_frames": 272,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299767.936800451,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299768.52743294,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447045.8649378,
                "source_stage": "native_completed",
                "source_stage_at": 1789447047.577564,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447047.4668715,
                  "preprocess_output": 1789447047.4481757,
                  "infer_output": 1789447047.440495,
                  "consume_entered": 1789447047.455236,
                  "native_completed": 1789447047.577564,
                  "inference_frame_completed": 1789447045.8649166
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 206,
                  "preprocess_output": 205,
                  "infer_output": 203,
                  "consume_entered": 203,
                  "native_completed": 203,
                  "inference_frame_completed": 156
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 23.0,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299768379823683,
                "counts": {
                  "decoded": 206,
                  "selected": 206,
                  "preprocess": 205,
                  "infer": 203,
                  "native": 203,
                  "result": 156,
                  "publisher_submit": 156
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299768213980513,
                  "selected": 1299768214088677,
                  "preprocess": 1299768195385784,
                  "infer": 1299768187682467,
                  "native": 1299768324676823,
                  "result": 1299766611479798,
                  "publisher_submit": 1299766612309584
                },
                "detail": true,
                "pending_samples": 13,
                "last_frame": {
                  "selected": [
                    205,
                    20675462028
                  ],
                  "preprocess": [
                    204,
                    20575462028
                  ],
                  "infer": [
                    202,
                    20375462028
                  ],
                  "native": [
                    202,
                    20375462028
                  ],
                  "result": [
                    181,
                    18275462028
                  ],
                  "publisher_submit": [
                    181,
                    18275462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 12,
                    "mean_ms": 105.53192816666667,
                    "p95_ms": 295.502538,
                    "max_ms": 295.502538
                  },
                  "preprocess_to_infer": {
                    "samples": 10,
                    "mean_ms": 228.1656139,
                    "p95_ms": 500.29857,
                    "max_ms": 500.29857
                  },
                  "infer_to_native": {
                    "samples": 10,
                    "mean_ms": 115.18345740000001,
                    "p95_ms": 206.922255,
                    "max_ms": 206.922255
                  },
                  "tracking": {
                    "samples": 1,
                    "mean_ms": 339.856811,
                    "p95_ms": 339.856811,
                    "max_ms": 339.856811
                  },
                  "tracking_cpu": {
                    "samples": 1,
                    "mean_ms": 54.219379,
                    "p95_ms": 54.219379,
                    "max_ms": 54.219379
                  },
                  "scenario_cpu": {
                    "samples": 1,
                    "mean_ms": 1.205854,
                    "p95_ms": 1.205854,
                    "max_ms": 1.205854
                  },
                  "scenario": {
                    "samples": 1,
                    "mean_ms": 1.219053,
                    "p95_ms": 1.219053,
                    "max_ms": 1.219053
                  },
                  "result_work": {
                    "samples": 1,
                    "mean_ms": 348.571728,
                    "p95_ms": 348.571728,
                    "max_ms": 348.571728
                  },
                  "queue": {
                    "samples": 1,
                    "mean_ms": 952.380685,
                    "p95_ms": 952.380685,
                    "max_ms": 952.380685
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": []
              },
              "queued": 16,
              "events_created": 11,
              "processed": 156,
              "stale": 29
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 157,
            "per_task_buffers": {
              "det": 157
            },
            "latest": {
              "fn": 185,
              "det": 9,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299768.527488012,
            "entries": 157,
            "length": 30,
            "last": "1789447047652-0",
            "pttl": 9828,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 185,
              "ptsNs": 18675462028,
              "ingestTimeWallMs": 1789447044847,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1193406473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447044739,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.918333888053894,
                  "bbox": [
                    0.692626953125,
                    0.3209228515625,
                    0.763427734375,
                    0.7171630859375
                  ],
                  "trackId": 561,
                  "eventIds": [
                    "76ac4f4d-66c2-436f-afc2-1d651fc283bf"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.72802734375,
                        0.7171630859375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "76ac4f4d-66c2-436f-afc2-1d651fc283bf"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9136765599250793,
                  "bbox": [
                    0.7981719970703125,
                    0.34814453125,
                    0.8571014404296875,
                    0.67626953125
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.82763671875,
                        0.67626953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8789390921592712,
                  "bbox": [
                    0.38143157958984375,
                    0.39190673828125,
                    0.40616607666015625,
                    0.52947998046875
                  ],
                  "trackId": 641,
                  "eventIds": [
                    "a448b6ea-a691-41f5-99ea-375061b16750"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.393798828125,
                        0.52947998046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a448b6ea-a691-41f5-99ea-375061b16750"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8770562410354614,
                  "bbox": [
                    0.52667236328125,
                    0.355712890625,
                    0.56707763671875,
                    0.552001953125
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "59c2e5d2-1e36-477b-9fc6-d94dcb934be5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.546875,
                        0.552001953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "59c2e5d2-1e36-477b-9fc6-d94dcb934be5"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7843190431594849,
                  "bbox": [
                    0.61590576171875,
                    0.44903564453125,
                    0.65264892578125,
                    0.55047607421875
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63427734375,
                        0.55047607421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6120778322219849,
                  "bbox": [
                    0.65362548828125,
                    0.447967529296875,
                    0.68328857421875,
                    0.533966064453125
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66845703125,
                        0.533966064453125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5697928071022034,
                  "bbox": [
                    0.6333770751953125,
                    0.46435546875,
                    0.6595916748046875,
                    0.55517578125
                  ],
                  "trackId": 801,
                  "eventIds": [
                    "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.646484375,
                        0.55517578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299768.88638267,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447047.1788468,
                "source_stage": "native_completed",
                "source_stage_at": 1789447047.9647574,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447047.8353164,
                  "preprocess_output": 1789447047.8637936,
                  "infer_output": 1789447047.8232,
                  "consume_entered": 1789447047.8576608,
                  "native_completed": 1789447047.9647574,
                  "inference_frame_completed": 1789447047.178654
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 160,
                  "preprocess_output": 159,
                  "infer_output": 157,
                  "consume_entered": 157,
                  "native_completed": 157,
                  "inference_frame_completed": 119
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 19.2,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299768772097034,
                "counts": {
                  "decoded": 160,
                  "selected": 160,
                  "preprocess": 159,
                  "infer": 157,
                  "native": 157,
                  "result": 119,
                  "publisher_submit": 119
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299768582496325,
                  "selected": 1299768582576785,
                  "preprocess": 1299768611037961,
                  "infer": 1299768570434037,
                  "native": 1299768711880018,
                  "result": 1299767900311825,
                  "publisher_submit": 1299767925827256
                },
                "detail": true,
                "pending_samples": 13,
                "last_frame": {
                  "selected": [
                    159,
                    17872222057
                  ],
                  "preprocess": [
                    158,
                    17772222057
                  ],
                  "infer": [
                    156,
                    17572222057
                  ],
                  "native": [
                    156,
                    17572222057
                  ],
                  "result": [
                    139,
                    15872222057
                  ],
                  "publisher_submit": [
                    139,
                    15872222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 12,
                    "mean_ms": 163.13770341666665,
                    "p95_ms": 417.44392,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 10,
                    "mean_ms": 295.3510666,
                    "p95_ms": 663.624989,
                    "max_ms": 663.624989
                  },
                  "infer_to_native": {
                    "samples": 10,
                    "mean_ms": 121.2774674,
                    "p95_ms": 315.265566,
                    "max_ms": 315.265566
                  },
                  "tracking": {
                    "samples": 2,
                    "mean_ms": 709.959988,
                    "p95_ms": 999.139616,
                    "max_ms": 999.139616
                  },
                  "tracking_cpu": {
                    "samples": 2,
                    "mean_ms": 102.7640705,
                    "p95_ms": 147.629219,
                    "max_ms": 147.629219
                  },
                  "scenario_cpu": {
                    "samples": 2,
                    "mean_ms": 7.514905,
                    "p95_ms": 13.793339,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 2,
                    "mean_ms": 33.1634125,
                    "p95_ms": 65.078732,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 2,
                    "mean_ms": 820.7330515,
                    "p95_ms": 1213.786406,
                    "max_ms": 1213.786406
                  },
                  "queue": {
                    "samples": 2,
                    "mean_ms": 972.2931215,
                    "p95_ms": 990.911139,
                    "max_ms": 990.911139
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 6,
              "events_created": 7,
              "processed": 119,
              "stale": 30
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 119,
            "per_task_buffers": {
              "det": 119
            },
            "latest": {
              "fn": 139,
              "det": 6,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299768.886411734,
            "entries": 119,
            "length": 30,
            "last": "1789447047203-0",
            "pttl": 9043,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 139,
              "ptsNs": 15872222057,
              "ingestTimeWallMs": 1789447044924,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3321340188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470688447,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9674717783927917,
                  "bbox": [
                    0.3509521484375,
                    0.06005859375,
                    0.6011962890625,
                    0.99365234375
                  ],
                  "trackId": 641,
                  "eventIds": [
                    "9eeea186-6ea3-4965-a697-10ad0270d5f9"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.47607421875,
                        0.99365234375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "9eeea186-6ea3-4965-a697-10ad0270d5f9"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9162596464157104,
                  "bbox": [
                    0.843109130859375,
                    0.290283203125,
                    0.951812744140625,
                    0.953857421875
                  ],
                  "trackId": 561,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8974609375,
                        0.953857421875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8272706270217896,
                  "bbox": [
                    0.617401123046875,
                    0.44342041015625,
                    0.654083251953125,
                    0.54925537109375
                  ],
                  "trackId": 241,
                  "eventIds": [
                    "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.54925537109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.731250524520874,
                  "bbox": [
                    0.6551742553710938,
                    0.446044921875,
                    0.6846694946289062,
                    0.539794921875
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.539794921875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6740504503250122,
                  "bbox": [
                    0.6331558227539062,
                    0.467041015625,
                    0.6578598022460938,
                    0.555419921875
                  ],
                  "trackId": 321,
                  "eventIds": [
                    "a886bd24-d18f-4866-8051-2335c36a288e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6455078125,
                        0.555419921875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a886bd24-d18f-4866-8051-2335c36a288e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": [
                {
                  "schemaVersion": "1",
                  "cameraId": "rtsp-test-source-02",
                  "sourceId": "rtsp-test-source-02",
                  "serverId": "test-ai",
                  "streamId": "web-cam08-test",
                  "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
                  "runGeneration": 1,
                  "frameSeq": 139,
                  "ptsNs": 15872222057,
                  "ingestTimeWallMs": 1789447044924,
                  "frameWidth": 1280,
                  "frameHeight": 720,
                  "coordinateSpace": "SOURCE_FRAME",
                  "format": "XYXY",
                  "normalized": true,
                  "origin": "TOP_LEFT",
                  "configVersion": null,
                  "frameTime": {
                    "anchorId": null,
                    "startWallTimeMs": 1789433784668,
                    "anchorRtpTimestamp": 0,
                    "rtpClockRate": 90000,
                    "rtpTimestamp": 3321340188,
                    "rtpTimestampExt": null,
                    "detectedAtWallMs": 1789470688447,
                    "syncStatus": "ESTIMATED",
                    "timeSource": "SYNTHETIC_TEST_ANCHOR"
                  },
                  "eventId": "9eeea186-6ea3-4965-a697-10ad0270d5f9",
                  "scenario": "INTRUSION",
                  "categoryKey": "person",
                  "modelKey": "RFDETRMedium",
                  "classId": 0,
                  "trackId": 641,
                  "roiId": "primary",
                  "objectRef": "0",
                  "confidence": 0.9674717783927917,
                  "bbox": [
                    0.3509521484375,
                    0.06005859375,
                    0.6011962890625,
                    0.99365234375
                  ],
                  "clipUri": null,
                  "thumbnailUri": null,
                  "deliveryStatus": "NOT_SUBMITTED"
                }
              ]
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 319,
          "sent_status": 44,
          "sent_frames": 275,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299769.908907585,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299770.973396887,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447048.8377612,
                "source_stage": "native_completed",
                "source_stage_at": 1789447049.4885058,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447049.3395574,
                  "preprocess_output": 1789447049.347473,
                  "infer_output": 1789447049.3234031,
                  "consume_entered": 1789447049.330254,
                  "native_completed": 1789447049.4885058,
                  "inference_frame_completed": 1789447048.8366723
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 214,
                  "preprocess_output": 213,
                  "infer_output": 211,
                  "consume_entered": 211,
                  "native_completed": 211,
                  "inference_frame_completed": 158
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 24.8,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299770257163777,
                "counts": {
                  "decoded": 214,
                  "selected": 214,
                  "preprocess": 213,
                  "infer": 211,
                  "native": 211,
                  "result": 158,
                  "publisher_submit": 158
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299770086535081,
                  "selected": 1299770086680442,
                  "preprocess": 1299770094612685,
                  "infer": 1299770070661537,
                  "native": 1299770235677157,
                  "result": 1299769583472665,
                  "publisher_submit": 1299769584061716
                },
                "detail": true,
                "pending_samples": 20,
                "last_frame": {
                  "selected": [
                    213,
                    21475462028
                  ],
                  "preprocess": [
                    212,
                    21375462028
                  ],
                  "infer": [
                    210,
                    21175462028
                  ],
                  "native": [
                    210,
                    21175462028
                  ],
                  "result": [
                    199,
                    20075462028
                  ],
                  "publisher_submit": [
                    199,
                    20075462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 20,
                    "mean_ms": 156.9335155,
                    "p95_ms": 295.502538,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 18,
                    "mean_ms": 330.5248003888889,
                    "p95_ms": 542.154652,
                    "max_ms": 542.154652
                  },
                  "infer_to_native": {
                    "samples": 18,
                    "mean_ms": 133.58678633333332,
                    "p95_ms": 206.922255,
                    "max_ms": 206.922255
                  },
                  "tracking": {
                    "samples": 3,
                    "mean_ms": 1087.809533,
                    "p95_ms": 1768.907815,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 3,
                    "mean_ms": 133.084663,
                    "p95_ms": 187.28452,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 3,
                    "mean_ms": 1.045212,
                    "p95_ms": 1.205854,
                    "max_ms": 1.205854
                  },
                  "scenario": {
                    "samples": 3,
                    "mean_ms": 1.0568276666666667,
                    "p95_ms": 1.219053,
                    "max_ms": 1.219053
                  },
                  "result_work": {
                    "samples": 3,
                    "mean_ms": 1095.392302,
                    "p95_ms": 1779.146769,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 3,
                    "mean_ms": 888.533021,
                    "p95_ms": 983.096596,
                    "max_ms": 983.096596
                  },
                  "native_to_result": {
                    "samples": 1,
                    "mean_ms": 2009.117916,
                    "p95_ms": 2009.117916,
                    "max_ms": 2009.117916
                  },
                  "result_to_publisher_submit": {
                    "samples": 1,
                    "mean_ms": 0.589051,
                    "p95_ms": 0.589051,
                    "max_ms": 0.589051
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 6,
              "events_created": 11,
              "processed": 158,
              "stale": 45
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 158,
            "per_task_buffers": {
              "det": 158
            },
            "latest": {
              "fn": 199,
              "det": 8,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299770.973490706,
            "entries": 158,
            "length": 30,
            "last": "1789447048856-0",
            "pttl": 9980,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 203,
              "ptsNs": 20475462028,
              "ingestTimeWallMs": 1789447046965,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1193568473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447046539,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9244152307510376,
                  "bbox": [
                    0.75726318359375,
                    0.3197021484375,
                    0.82574462890625,
                    0.7174072265625
                  ],
                  "trackId": 481,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.79150390625,
                        0.7174072265625
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9061560034751892,
                  "bbox": [
                    0.5760040283203125,
                    0.35479736328125,
                    0.6368865966796875,
                    0.56951904296875
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6064453125,
                        0.56951904296875
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8879840970039368,
                  "bbox": [
                    0.7220001220703125,
                    0.34765625,
                    0.7760467529296875,
                    0.6376953125
                  ],
                  "trackId": 561,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.7490234375,
                        0.6376953125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8713654279708862,
                  "bbox": [
                    0.38166046142578125,
                    0.39093017578125,
                    0.40642547607421875,
                    0.52947998046875
                  ],
                  "trackId": 641,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.39404296875,
                        0.52947998046875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7918210625648499,
                  "bbox": [
                    0.6234054565429688,
                    0.450775146484375,
                    0.6539382934570312,
                    0.556060791015625
                  ],
                  "trackId": 161,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.638671875,
                        0.556060791015625
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7362110018730164,
                  "bbox": [
                    0.65313720703125,
                    0.442169189453125,
                    0.68377685546875,
                    0.532440185546875
                  ],
                  "trackId": 881,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66845703125,
                        0.532440185546875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299771.124891109,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447050.2052572,
                "source_stage": "native_completed",
                "source_stage_at": 1789447050.290205,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447050.2740986,
                  "preprocess_output": 1789447050.2636642,
                  "infer_output": 1789447050.2550058,
                  "consume_entered": 1789447050.258159,
                  "native_completed": 1789447050.290205,
                  "inference_frame_completed": 1789447050.2052228
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 169,
                  "preprocess_output": 168,
                  "infer_output": 166,
                  "consume_entered": 166,
                  "native_completed": 166,
                  "inference_frame_completed": 121
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 21.4,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299771042640735,
                "counts": {
                  "decoded": 169,
                  "selected": 169,
                  "preprocess": 168,
                  "infer": 166,
                  "native": 166,
                  "result": 121,
                  "publisher_submit": 121
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299771021351285,
                  "selected": 1299771021392377,
                  "preprocess": 1299771010978376,
                  "infer": 1299771002311735,
                  "native": 1299771037545926,
                  "result": 1299770951785198,
                  "publisher_submit": 1299770952586793
                },
                "detail": true,
                "pending_samples": 20,
                "last_frame": {
                  "selected": [
                    168,
                    18772222057
                  ],
                  "preprocess": [
                    167,
                    18672222057
                  ],
                  "infer": [
                    165,
                    18472222057
                  ],
                  "native": [
                    165,
                    18472222057
                  ],
                  "result": [
                    156,
                    17572222057
                  ],
                  "publisher_submit": [
                    156,
                    17572222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 21,
                    "mean_ms": 210.2015405238095,
                    "p95_ms": 373.999542,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 19,
                    "mean_ms": 392.2062227894737,
                    "p95_ms": 675.090996,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 19,
                    "mean_ms": 149.5197027368421,
                    "p95_ms": 360.068996,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 4,
                    "mean_ms": 1044.45897,
                    "p95_ms": 1489.361547,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 4,
                    "mean_ms": 134.003963,
                    "p95_ms": 169.832696,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 4,
                    "mean_ms": 9.10045775,
                    "p95_ms": 13.793339,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 4,
                    "mean_ms": 24.2447785,
                    "p95_ms": 65.078732,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 4,
                    "mean_ms": 1165.2868585,
                    "p95_ms": 1645.083605,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 4,
                    "mean_ms": 900.9492585,
                    "p95_ms": 990.911139,
                    "max_ms": 990.911139
                  },
                  "native_to_result": {
                    "samples": 2,
                    "mean_ms": 2468.313821,
                    "p95_ms": 2696.722462,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 2,
                    "mean_ms": 0.68202,
                    "p95_ms": 0.801595,
                    "max_ms": 0.801595
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 4,
              "events_created": 7,
              "processed": 121,
              "stale": 40
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 121,
            "per_task_buffers": {
              "det": 121
            },
            "latest": {
              "fn": 156,
              "det": 8,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299771.12492142,
            "entries": 121,
            "length": 30,
            "last": "1789447050235-0",
            "pttl": 9826,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 156,
              "ptsNs": 17572222057,
              "ingestTimeWallMs": 1789447046990,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3321493188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470690147,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9374402165412903,
                  "bbox": [
                    0.48211669921875,
                    0.243408203125,
                    0.63604736328125,
                    0.947021484375
                  ],
                  "trackId": 641,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.55908203125,
                        0.947021484375
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.925094723701477,
                  "bbox": [
                    0.9239501953125,
                    0.341064453125,
                    0.9989013671875,
                    0.796630859375
                  ],
                  "trackId": 801,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.96142578125,
                        0.796630859375
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8942365646362305,
                  "bbox": [
                    0.37628173828125,
                    0.357421875,
                    0.41473388671875,
                    0.54248046875
                  ],
                  "trackId": 721,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.3955078125,
                        0.54248046875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6953380107879639,
                  "bbox": [
                    0.6555633544921875,
                    0.445892333984375,
                    0.6842803955078125,
                    0.539459228515625
                  ],
                  "trackId": 401,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.539459228515625
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6862649321556091,
                  "bbox": [
                    0.623077392578125,
                    0.444305419921875,
                    0.655242919921875,
                    0.553741455078125
                  ],
                  "trackId": 241,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63916015625,
                        0.553741455078125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5101228356361389,
                  "bbox": [
                    0.6287841796875,
                    0.4686279296875,
                    0.6553955078125,
                    0.5548095703125
                  ],
                  "trackId": 321,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64208984375,
                        0.5548095703125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 323,
          "sent_status": 45,
          "sent_frames": 278,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299772.157729208,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299772.336817511,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447051.0370078,
                "source_stage": "infer_output",
                "source_stage_at": 1789447051.5160549,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447051.4899468,
                  "preprocess_output": 1789447051.5150723,
                  "infer_output": 1789447051.5160549,
                  "consume_entered": 1789447051.4792955,
                  "native_completed": 1789447051.5057466,
                  "inference_frame_completed": 1789447051.036995
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 248,
                  "preprocess_output": 247,
                  "infer_output": 246,
                  "consume_entered": 245,
                  "native_completed": 245,
                  "inference_frame_completed": 160
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 26.9,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299772272343971,
                "counts": {
                  "decoded": 248,
                  "selected": 248,
                  "preprocess": 247,
                  "infer": 246,
                  "native": 245,
                  "result": 160,
                  "publisher_submit": 160
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299772237236661,
                  "selected": 1299772237286275,
                  "preprocess": 1299772262400589,
                  "infer": 1299772263319530,
                  "native": 1299772253065337,
                  "result": 1299771783701401,
                  "publisher_submit": 1299771784395213
                },
                "detail": true,
                "pending_samples": 52,
                "last_frame": {
                  "selected": [
                    247,
                    24875462028
                  ],
                  "preprocess": [
                    246,
                    24775462028
                  ],
                  "infer": [
                    245,
                    24675462028
                  ],
                  "native": [
                    244,
                    24575462028
                  ],
                  "result": [
                    209,
                    21075462028
                  ],
                  "publisher_submit": [
                    209,
                    21075462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 54,
                    "mean_ms": 98.44990287037038,
                    "p95_ms": 298.004809,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 53,
                    "mean_ms": 188.0869900754717,
                    "p95_ms": 542.154652,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 52,
                    "mean_ms": 76.73993428846154,
                    "p95_ms": 206.922255,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 5,
                    "mean_ms": 1088.40185,
                    "p95_ms": 1768.907815,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 5,
                    "mean_ms": 126.70414120000001,
                    "p95_ms": 187.28452,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 5,
                    "mean_ms": 1.0262336,
                    "p95_ms": 1.205854,
                    "max_ms": 1.205854
                  },
                  "scenario": {
                    "samples": 5,
                    "mean_ms": 1.0371486,
                    "p95_ms": 1.219053,
                    "max_ms": 1.219053
                  },
                  "result_work": {
                    "samples": 5,
                    "mean_ms": 1096.547784,
                    "p95_ms": 1779.146769,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 5,
                    "mean_ms": 880.1396782,
                    "p95_ms": 983.096596,
                    "max_ms": 983.096596
                  },
                  "native_to_result": {
                    "samples": 3,
                    "mean_ms": 2067.558677666667,
                    "p95_ms": 2407.731992,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 3,
                    "mean_ms": 0.6440576666666666,
                    "p95_ms": 0.693812,
                    "max_ms": 0.693812
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 32,
              "events_created": 11,
              "processed": 160,
              "stale": 52
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 160,
            "per_task_buffers": {
              "det": 160
            },
            "latest": {
              "fn": 209,
              "det": 7,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299772.336857171,
            "entries": 160,
            "length": 30,
            "last": "1789447051050-0",
            "pttl": 9417,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 209,
              "ptsNs": 21075462028,
              "ingestTimeWallMs": 1789447048395,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1193622473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447047139,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9404625296592712,
                  "bbox": [
                    0.6916656494140625,
                    0.345458984375,
                    0.7516937255859375,
                    0.631103515625
                  ],
                  "trackId": 561,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.7216796875,
                        0.631103515625
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9092645049095154,
                  "bbox": [
                    0.76483154296875,
                    0.320068359375,
                    0.84942626953125,
                    0.728759765625
                  ],
                  "trackId": 481,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.80712890625,
                        0.728759765625
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8830344080924988,
                  "bbox": [
                    0.6029510498046875,
                    0.3521728515625,
                    0.6499786376953125,
                    0.5731201171875
                  ],
                  "trackId": 1041,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.62646484375,
                        0.5731201171875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8748277425765991,
                  "bbox": [
                    0.38216400146484375,
                    0.3905029296875,
                    0.40689849853515625,
                    0.5294189453125
                  ],
                  "trackId": 641,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.39453125,
                        0.5294189453125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6387225985527039,
                  "bbox": [
                    0.6376800537109375,
                    0.464324951171875,
                    0.6748199462890625,
                    0.557159423828125
                  ],
                  "trackId": 801,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.65625,
                        0.557159423828125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5465868711471558,
                  "bbox": [
                    0.6564712524414062,
                    0.44793701171875,
                    0.6833724975585938,
                    0.53302001953125
                  ],
                  "trackId": 881,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.53302001953125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299772.44696519,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447051.2140286,
                "source_stage": "infer_output",
                "source_stage_at": 1789447051.6419969,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447051.5875342,
                  "preprocess_output": 1789447051.6026704,
                  "infer_output": 1789447051.6419969,
                  "consume_entered": 1789447051.5882337,
                  "native_completed": 1789447051.6215591,
                  "inference_frame_completed": 1789447051.2140057
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 197,
                  "preprocess_output": 196,
                  "infer_output": 195,
                  "consume_entered": 194,
                  "native_completed": 194,
                  "inference_frame_completed": 122
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 22.8,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299772399197377,
                "counts": {
                  "decoded": 197,
                  "selected": 197,
                  "preprocess": 196,
                  "infer": 195,
                  "native": 194,
                  "result": 122,
                  "publisher_submit": 122
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299772334851783,
                  "selected": 1299772334881911,
                  "preprocess": 1299772349969872,
                  "infer": 1299772389213598,
                  "native": 1299772368820282,
                  "result": 1299771960638033,
                  "publisher_submit": 1299771961397546
                },
                "detail": true,
                "pending_samples": 47,
                "last_frame": {
                  "selected": [
                    196,
                    21572222057
                  ],
                  "preprocess": [
                    195,
                    21472222057
                  ],
                  "infer": [
                    194,
                    21372222057
                  ],
                  "native": [
                    193,
                    21272222057
                  ],
                  "result": [
                    161,
                    18072222057
                  ],
                  "publisher_submit": [
                    161,
                    18072222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 49,
                    "mean_ms": 117.50642167346939,
                    "p95_ms": 339.1987,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 48,
                    "mean_ms": 208.7916946875,
                    "p95_ms": 652.133053,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 47,
                    "mean_ms": 82.21168687234042,
                    "p95_ms": 271.979155,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 5,
                    "mean_ms": 1028.6864878,
                    "p95_ms": 1489.361547,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 5,
                    "mean_ms": 120.4649096,
                    "p95_ms": 169.832696,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 5,
                    "mean_ms": 7.5625126,
                    "p95_ms": 13.793339,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 5,
                    "mean_ms": 19.6819082,
                    "p95_ms": 65.078732,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 5,
                    "mean_ms": 1133.7072088,
                    "p95_ms": 1645.083605,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 5,
                    "mean_ms": 916.1158736,
                    "p95_ms": 990.911139,
                    "max_ms": 990.911139
                  },
                  "native_to_result": {
                    "samples": 3,
                    "mean_ms": 2301.21473,
                    "p95_ms": 2696.722462,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 3,
                    "mean_ms": 0.707851,
                    "p95_ms": 0.801595,
                    "max_ms": 0.801595
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 29,
              "events_created": 8,
              "processed": 122,
              "stale": 42
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 122,
            "per_task_buffers": {
              "det": 122
            },
            "latest": {
              "fn": 161,
              "det": 7,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299772.447074116,
            "entries": 122,
            "length": 30,
            "last": "1789447051220-0",
            "pttl": 9476,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 161,
              "ptsNs": 18072222057,
              "ingestTimeWallMs": 1789447048265,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3321538188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470690647,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9460012316703796,
                  "bbox": [
                    0.52935791015625,
                    0.265869140625,
                    0.65618896484375,
                    0.902099609375
                  ],
                  "trackId": 641,
                  "eventIds": [
                    "9eeea186-6ea3-4965-a697-10ad0270d5f9"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.5927734375,
                        0.902099609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "9eeea186-6ea3-4965-a697-10ad0270d5f9"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.920647144317627,
                  "bbox": [
                    0.9514007568359375,
                    0.3515625,
                    0.9997711181640625,
                    0.783203125
                  ],
                  "trackId": 801,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.9755859375,
                        0.783203125
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.891999363899231,
                  "bbox": [
                    0.3772125244140625,
                    0.36309814453125,
                    0.4123382568359375,
                    0.54168701171875
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.394775390625,
                        0.54168701171875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7230162620544434,
                  "bbox": [
                    0.6423492431640625,
                    0.46490478515625,
                    0.6779632568359375,
                    0.55560302734375
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66015625,
                        0.55560302734375
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6899327039718628,
                  "bbox": [
                    0.659881591796875,
                    0.44647216796875,
                    0.684844970703125,
                    0.53741455078125
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.67236328125,
                        0.53741455078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": [
                {
                  "schemaVersion": "1",
                  "cameraId": "rtsp-test-source-02",
                  "sourceId": "rtsp-test-source-02",
                  "serverId": "test-ai",
                  "streamId": "web-cam08-test",
                  "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
                  "runGeneration": 1,
                  "frameSeq": 161,
                  "ptsNs": 18072222057,
                  "ingestTimeWallMs": 1789447048265,
                  "frameWidth": 1280,
                  "frameHeight": 720,
                  "coordinateSpace": "SOURCE_FRAME",
                  "format": "XYXY",
                  "normalized": true,
                  "origin": "TOP_LEFT",
                  "configVersion": null,
                  "frameTime": {
                    "anchorId": null,
                    "startWallTimeMs": 1789433784668,
                    "anchorRtpTimestamp": 0,
                    "rtpClockRate": 90000,
                    "rtpTimestamp": 3321538188,
                    "rtpTimestampExt": null,
                    "detectedAtWallMs": 1789470690647,
                    "syncStatus": "ESTIMATED",
                    "timeSource": "SYNTHETIC_TEST_ANCHOR"
                  },
                  "eventId": "b45357a6-b9a8-4e0e-a71f-20e87a7d5130",
                  "scenario": "INTRUSION",
                  "categoryKey": "person",
                  "modelKey": "RFDETRMedium",
                  "classId": 0,
                  "trackId": 721,
                  "roiId": "primary",
                  "objectRef": "2",
                  "confidence": 0.891999363899231,
                  "bbox": [
                    0.3772125244140625,
                    0.36309814453125,
                    0.4123382568359375,
                    0.54168701171875
                  ],
                  "clipUri": null,
                  "thumbnailUri": null,
                  "deliveryStatus": "NOT_SUBMITTED"
                }
              ]
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 327,
          "sent_status": 45,
          "sent_frames": 282,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299773.494129695,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299773.625734885,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447052.0925186,
                "source_stage": "infer_output",
                "source_stage_at": 1789447052.7909803,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447052.7606795,
                  "preprocess_output": 1789447052.765218,
                  "infer_output": 1789447052.7909803,
                  "consume_entered": 1789447052.6934423,
                  "native_completed": 1789447052.7140994,
                  "inference_frame_completed": 1789447052.0924685
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 265,
                  "preprocess_output": 265,
                  "infer_output": 265,
                  "consume_entered": 264,
                  "native_completed": 264,
                  "inference_frame_completed": 161
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 28.1,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299773540539284,
                "counts": {
                  "decoded": 265,
                  "selected": 265,
                  "preprocess": 265,
                  "infer": 265,
                  "native": 264,
                  "result": 161,
                  "publisher_submit": 161
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299773507970148,
                  "selected": 1299773508028539,
                  "preprocess": 1299773512544843,
                  "infer": 1299773538247889,
                  "native": 1299773461479795,
                  "result": 1299772838184781,
                  "publisher_submit": 1299772839834261
                },
                "detail": true,
                "pending_samples": 68,
                "last_frame": {
                  "selected": [
                    264,
                    26575462028
                  ],
                  "preprocess": [
                    264,
                    26575462028
                  ],
                  "infer": [
                    264,
                    26575462028
                  ],
                  "native": [
                    263,
                    26475462028
                  ],
                  "result": [
                    212,
                    21375462028
                  ],
                  "publisher_submit": [
                    212,
                    21375462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 72,
                    "mean_ms": 81.81739615277777,
                    "p95_ms": 295.502538,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 72,
                    "mean_ms": 153.88252420833334,
                    "p95_ms": 500.29857,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 71,
                    "mean_ms": 65.40326340845071,
                    "p95_ms": 186.67486,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 6,
                    "mean_ms": 1075.4652475,
                    "p95_ms": 1768.907815,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 6,
                    "mean_ms": 117.75267716666667,
                    "p95_ms": 187.28452,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 6,
                    "mean_ms": 0.9815896666666666,
                    "p95_ms": 1.205854,
                    "max_ms": 1.205854
                  },
                  "scenario": {
                    "samples": 6,
                    "mean_ms": 0.992548,
                    "p95_ms": 1.219053,
                    "max_ms": 1.219053
                  },
                  "result_work": {
                    "samples": 6,
                    "mean_ms": 1089.6025511666667,
                    "p95_ms": 1779.146769,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 6,
                    "mean_ms": 895.59998,
                    "p95_ms": 983.096596,
                    "max_ms": 983.096596
                  },
                  "native_to_result": {
                    "samples": 4,
                    "mean_ms": 2024.19806575,
                    "p95_ms": 2407.731992,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 4,
                    "mean_ms": 0.89541325,
                    "p95_ms": 1.64948,
                    "max_ms": 1.64948
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 28,
              "events_created": 11,
              "processed": 161,
              "stale": 63,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 161,
            "per_task_buffers": {
              "det": 161
            },
            "latest": {
              "fn": 212,
              "det": 5,
              "persons": 4,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299773.625838196,
            "entries": 162,
            "length": 30,
            "last": "1789447052857-0",
            "pttl": 9942,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 235,
              "ptsNs": 23675462028,
              "ingestTimeWallMs": 1789447050949,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1193856473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447049739,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.916857123374939,
                  "bbox": [
                    0.699859619140625,
                    0.3507080078125,
                    0.767913818359375,
                    0.5941162109375
                  ],
                  "trackId": 561,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.73388671875,
                        0.5941162109375
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9150528311729431,
                  "bbox": [
                    0.89556884765625,
                    0.3115234375,
                    0.99603271484375,
                    0.822265625
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.94580078125,
                        0.822265625
                      ],
                      "inside": false,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9118099808692932,
                  "bbox": [
                    0.5306854248046875,
                    0.33935546875,
                    0.5796661376953125,
                    0.6279296875
                  ],
                  "trackId": 721,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.55517578125,
                        0.6279296875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8769509196281433,
                  "bbox": [
                    0.4532623291015625,
                    0.39404296875,
                    0.4847259521484375,
                    0.5234375
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.468994140625,
                        0.5234375
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.791176438331604,
                  "bbox": [
                    0.6161651611328125,
                    0.446014404296875,
                    0.6533660888671875,
                    0.550079345703125
                  ],
                  "trackId": 161,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.634765625,
                        0.550079345703125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6584175229072571,
                  "bbox": [
                    0.6527099609375,
                    0.443206787109375,
                    0.6871337890625,
                    0.537750244140625
                  ],
                  "trackId": 881,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.537750244140625
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6335236430168152,
                  "bbox": [
                    0.6338577270507812,
                    0.46502685546875,
                    0.6630172729492188,
                    0.55548095703125
                  ],
                  "trackId": 801,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6484375,
                        0.55548095703125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299773.675039933,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447052.7478795,
                "source_stage": "native_completed",
                "source_stage_at": 1789447052.8829749,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447052.8182688,
                  "preprocess_output": 1789447052.826509,
                  "infer_output": 1789447052.8579621,
                  "consume_entered": 1789447052.8638523,
                  "native_completed": 1789447052.8829749,
                  "inference_frame_completed": 1789447052.7478602
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 219,
                  "preprocess_output": 219,
                  "infer_output": 219,
                  "consume_entered": 219,
                  "native_completed": 219,
                  "inference_frame_completed": 124
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 24.1,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299773667040836,
                "counts": {
                  "decoded": 219,
                  "selected": 219,
                  "preprocess": 219,
                  "infer": 219,
                  "native": 219,
                  "result": 124,
                  "publisher_submit": 124
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299773565621660,
                  "selected": 1299773565642266,
                  "preprocess": 1299773573754643,
                  "infer": 1299773605295951,
                  "native": 1299773630310201,
                  "result": 1299773494629628,
                  "publisher_submit": 1299773495258709
                },
                "detail": true,
                "pending_samples": 67,
                "last_frame": {
                  "selected": [
                    218,
                    23772222057
                  ],
                  "preprocess": [
                    218,
                    23772222057
                  ],
                  "infer": [
                    218,
                    23772222057
                  ],
                  "native": [
                    218,
                    23772222057
                  ],
                  "result": [
                    181,
                    20072222057
                  ],
                  "publisher_submit": [
                    181,
                    20072222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 72,
                    "mean_ms": 96.05358206944445,
                    "p95_ms": 327.661205,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 72,
                    "mean_ms": 166.45172605555555,
                    "p95_ms": 618.465787,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 72,
                    "mean_ms": 64.80934630555555,
                    "p95_ms": 189.331646,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 7,
                    "mean_ms": 951.9171122857143,
                    "p95_ms": 1489.361547,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 7,
                    "mean_ms": 104.03121157142857,
                    "p95_ms": 169.832696,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 7,
                    "mean_ms": 5.664703571428571,
                    "p95_ms": 13.793339,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 7,
                    "mean_ms": 14.32516357142857,
                    "p95_ms": 65.078732,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 7,
                    "mean_ms": 1028.5222894285714,
                    "p95_ms": 1645.083605,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 7,
                    "mean_ms": 936.3126437142857,
                    "p95_ms": 992.550638,
                    "max_ms": 992.550638
                  },
                  "native_to_result": {
                    "samples": 5,
                    "mean_ms": 2078.5718904,
                    "p95_ms": 2696.722462,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 5,
                    "mean_ms": 1.2555516,
                    "p95_ms": 3.525124,
                    "max_ms": 3.525124
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 22,
              "events_created": 8,
              "processed": 124,
              "stale": 65,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 124,
            "per_task_buffers": {
              "det": 124
            },
            "latest": {
              "fn": 181,
              "det": 7,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299773.675161097,
            "entries": 124,
            "length": 30,
            "last": "1789447052759-0",
            "pttl": 9803,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 181,
              "ptsNs": 20072222057,
              "ingestTimeWallMs": 1789447050896,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3321718188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470692647,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9094254970550537,
                  "bbox": [
                    0.663482666015625,
                    0.3111572265625,
                    0.756439208984375,
                    0.7952880859375
                  ],
                  "trackId": 641,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.7099609375,
                        0.7952880859375
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.897335946559906,
                  "bbox": [
                    0.96014404296875,
                    0.4222412109375,
                    0.99981689453125,
                    0.7515869140625
                  ],
                  "trackId": 801,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.97998046875,
                        0.7515869140625
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8875949382781982,
                  "bbox": [
                    0.3682098388671875,
                    0.37530517578125,
                    0.3998565673828125,
                    0.53533935546875
                  ],
                  "trackId": 721,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.384033203125,
                        0.53533935546875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8518295884132385,
                  "bbox": [
                    0.53387451171875,
                    0.358642578125,
                    0.55987548828125,
                    0.540771484375
                  ],
                  "trackId": 161,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.546875,
                        0.540771484375
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7948630452156067,
                  "bbox": [
                    0.6175079345703125,
                    0.44805908203125,
                    0.6520233154296875,
                    0.55047607421875
                  ],
                  "trackId": 241,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.634765625,
                        0.55047607421875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 331,
          "sent_status": 46,
          "sent_frames": 285,
          "queued": 1,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299774.704574894,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299774.756972878,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447053.9723241,
                "source_stage": "native_completed",
                "source_stage_at": 1789447053.9867456,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447053.945007,
                  "preprocess_output": 1789447053.9461963,
                  "infer_output": 1789447053.9668875,
                  "consume_entered": 1789447053.973996,
                  "native_completed": 1789447053.9867456,
                  "inference_frame_completed": 1789447053.972308
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 277,
                  "preprocess_output": 277,
                  "infer_output": 277,
                  "consume_entered": 277,
                  "native_completed": 277,
                  "inference_frame_completed": 171
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 29.3,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299774741537046,
                "counts": {
                  "decoded": 277,
                  "selected": 277,
                  "preprocess": 277,
                  "infer": 277,
                  "native": 277,
                  "result": 171,
                  "publisher_submit": 171
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299774692357644,
                  "selected": 1299774692378168,
                  "preprocess": 1299774693562946,
                  "infer": 1299774714245244,
                  "native": 1299774734131788,
                  "result": 1299774719087774,
                  "publisher_submit": 1299774719708408
                },
                "detail": true,
                "pending_samples": 70,
                "last_frame": {
                  "selected": [
                    276,
                    27775462028
                  ],
                  "preprocess": [
                    276,
                    27775462028
                  ],
                  "infer": [
                    276,
                    27775462028
                  ],
                  "native": [
                    276,
                    27775462028
                  ],
                  "result": [
                    265,
                    26675462028
                  ],
                  "publisher_submit": [
                    265,
                    26675462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 84,
                    "mean_ms": 70.5680066904762,
                    "p95_ms": 290.826633,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 84,
                    "mean_ms": 135.64766989285712,
                    "p95_ms": 491.779517,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 84,
                    "mean_ms": 58.454787821428575,
                    "p95_ms": 166.198403,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 16,
                    "mean_ms": 515.0426128125,
                    "p95_ms": 1768.907815,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 16,
                    "mean_ms": 68.778423875,
                    "p95_ms": 187.28452,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 16,
                    "mean_ms": 1.0471196875,
                    "p95_ms": 1.393572,
                    "max_ms": 1.393572
                  },
                  "scenario": {
                    "samples": 16,
                    "mean_ms": 1.06136725,
                    "p95_ms": 1.41105,
                    "max_ms": 1.41105
                  },
                  "result_work": {
                    "samples": 16,
                    "mean_ms": 523.5916708125,
                    "p95_ms": 1779.146769,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 16,
                    "mean_ms": 920.598456375,
                    "p95_ms": 994.292594,
                    "max_ms": 994.292594
                  },
                  "native_to_result": {
                    "samples": 14,
                    "mean_ms": 1378.0513088571429,
                    "p95_ms": 2407.731992,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 14,
                    "mean_ms": 0.8422266428571429,
                    "p95_ms": 1.64948,
                    "max_ms": 1.64948
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 10,
              "events_created": 13,
              "processed": 171,
              "stale": 84,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 171,
            "per_task_buffers": {
              "det": 171
            },
            "latest": {
              "fn": 265,
              "det": 10,
              "persons": 8,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299774.757038343,
            "entries": 171,
            "length": 30,
            "last": "1789447053990-0",
            "pttl": 9944,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 265,
              "ptsNs": 26675462028,
              "ingestTimeWallMs": 1789447052848,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1194126473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447052739,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9231777787208557,
                  "bbox": [
                    0.397705078125,
                    0.34271240234375,
                    0.449462890625,
                    0.58160400390625
                  ],
                  "trackId": 1201,
                  "eventIds": [
                    "36b7cc86-6349-4f99-9770-11347ff5c3e4"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.423583984375,
                        0.58160400390625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "36b7cc86-6349-4f99-9770-11347ff5c3e4"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9015746116638184,
                  "bbox": [
                    0.939727783203125,
                    0.287841796875,
                    0.999725341796875,
                    0.861572265625
                  ],
                  "trackId": 1121,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.9697265625,
                        0.861572265625
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8610715270042419,
                  "bbox": [
                    0.56396484375,
                    0.3951416015625,
                    0.59814453125,
                    0.5140380859375
                  ],
                  "trackId": 1281,
                  "eventIds": [
                    "cc554984-399e-40e7-b7bd-096e241d3f4d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.5810546875,
                        0.5140380859375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8603691458702087,
                  "bbox": [
                    0.793853759765625,
                    0.339111328125,
                    0.845794677734375,
                    0.608154296875
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.81982421875,
                        0.608154296875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8290773034095764,
                  "bbox": [
                    0.616729736328125,
                    0.44537353515625,
                    0.653778076171875,
                    0.55072021484375
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.55072021484375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7358314990997314,
                  "bbox": [
                    0.6532745361328125,
                    0.442901611328125,
                    0.6865692138671875,
                    0.533660888671875
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.533660888671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6425446271896362,
                  "bbox": [
                    0.6351165771484375,
                    0.464935302734375,
                    0.6695709228515625,
                    0.555572509765625
                  ],
                  "trackId": 801,
                  "eventIds": [
                    "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.65234375,
                        0.555572509765625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                    }
                  ]
                },
                {
                  "objectRef": "9",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5014467239379883,
                  "bbox": [
                    0.1979827880859375,
                    0.43264007568359375,
                    0.2141265869140625,
                    0.45847320556640625
                  ],
                  "trackId": 401,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.2060546875,
                        0.45847320556640625
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": [
                {
                  "schemaVersion": "1",
                  "cameraId": "rtsp-test-source-01",
                  "sourceId": "rtsp-test-source-01",
                  "serverId": "test-ai",
                  "streamId": "rtsp-test-01",
                  "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
                  "runGeneration": 1,
                  "frameSeq": 265,
                  "ptsNs": 26675462028,
                  "ingestTimeWallMs": 1789447052848,
                  "frameWidth": 1280,
                  "frameHeight": 720,
                  "coordinateSpace": "SOURCE_FRAME",
                  "format": "XYXY",
                  "normalized": true,
                  "origin": "TOP_LEFT",
                  "configVersion": null,
                  "frameTime": {
                    "anchorId": null,
                    "startWallTimeMs": 1789433784668,
                    "anchorRtpTimestamp": 0,
                    "rtpClockRate": 90000,
                    "rtpTimestamp": 1194126473,
                    "rtpTimestampExt": null,
                    "detectedAtWallMs": 1789447052739,
                    "syncStatus": "ESTIMATED",
                    "timeSource": "SYNTHETIC_TEST_ANCHOR"
                  },
                  "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d",
                  "scenario": "INTRUSION",
                  "categoryKey": "person",
                  "modelKey": "RFDETRMedium",
                  "classId": 0,
                  "trackId": 1281,
                  "roiId": "primary",
                  "objectRef": "2",
                  "confidence": 0.8610715270042419,
                  "bbox": [
                    0.56396484375,
                    0.3951416015625,
                    0.59814453125,
                    0.5140380859375
                  ],
                  "clipUri": null,
                  "thumbnailUri": null,
                  "deliveryStatus": "NOT_SUBMITTED"
                }
              ]
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299774.814087201,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447054.0306318,
                "source_stage": "inference_frame_completed",
                "source_stage_at": 1789447054.0305748,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447053.9265592,
                  "preprocess_output": 1789447053.9291136,
                  "infer_output": 1789447053.9468098,
                  "consume_entered": 1789447053.9497178,
                  "native_completed": 1789447053.962937,
                  "inference_frame_completed": 1789447054.0305748
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 230,
                  "preprocess_output": 230,
                  "infer_output": 230,
                  "consume_entered": 230,
                  "native_completed": 230,
                  "inference_frame_completed": 133
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 25.2,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299774801496816,
                "counts": {
                  "decoded": 230,
                  "selected": 230,
                  "preprocess": 230,
                  "infer": 230,
                  "native": 230,
                  "result": 133,
                  "publisher_submit": 133
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299774673874718,
                  "selected": 1299774673908891,
                  "preprocess": 1299774676427045,
                  "infer": 1299774694116603,
                  "native": 1299774710293882,
                  "result": 1299774777354421,
                  "publisher_submit": 1299774777972830
                },
                "detail": true,
                "pending_samples": 69,
                "last_frame": {
                  "selected": [
                    229,
                    24872222057
                  ],
                  "preprocess": [
                    229,
                    24872222057
                  ],
                  "infer": [
                    229,
                    24872222057
                  ],
                  "native": [
                    229,
                    24872222057
                  ],
                  "result": [
                    218,
                    23772222057
                  ],
                  "publisher_submit": [
                    218,
                    23772222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 83,
                    "mean_ms": 84.20615554216867,
                    "p95_ms": 300.267675,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 83,
                    "mean_ms": 148.0364840120482,
                    "p95_ms": 582.872921,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 83,
                    "mean_ms": 58.891291915662656,
                    "p95_ms": 188.27601,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 16,
                    "mean_ms": 491.489228875,
                    "p95_ms": 1489.361547,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 16,
                    "mean_ms": 67.2855084375,
                    "p95_ms": 169.832696,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 16,
                    "mean_ms": 3.020559,
                    "p95_ms": 13.793339,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 16,
                    "mean_ms": 6.8170230625,
                    "p95_ms": 65.078732,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 16,
                    "mean_ms": 527.6038176875,
                    "p95_ms": 1645.083605,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 16,
                    "mean_ms": 933.1279831875,
                    "p95_ms": 992.550638,
                    "max_ms": 992.550638
                  },
                  "native_to_result": {
                    "samples": 14,
                    "mean_ms": 1449.9381320714285,
                    "p95_ms": 2696.722462,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 14,
                    "mean_ms": 0.8961254285714285,
                    "p95_ms": 3.525124,
                    "max_ms": 3.525124
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 9,
              "events_created": 9,
              "processed": 133,
              "stale": 80,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 133,
            "per_task_buffers": {
              "det": 133
            },
            "latest": {
              "fn": 218,
              "det": 8,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299774.814155105,
            "entries": 133,
            "length": 30,
            "last": "1789447054032-0",
            "pttl": 9919,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 218,
              "ptsNs": 23772222057,
              "ingestTimeWallMs": 1789447052817,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3322051188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470696347,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9199306964874268,
                  "bbox": [
                    0.81475830078125,
                    0.341064453125,
                    0.89520263671875,
                    0.696044921875
                  ],
                  "trackId": 561,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.85498046875,
                        0.696044921875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8840392827987671,
                  "bbox": [
                    0.37786102294921875,
                    0.3905029296875,
                    0.40485382080078125,
                    0.5294189453125
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.391357421875,
                        0.5294189453125
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8834372758865356,
                  "bbox": [
                    0.7048187255859375,
                    0.3206787109375,
                    0.7658843994140625,
                    0.7135009765625
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "bf44f7ff-5743-4516-95f5-1f59ea902e9d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.7353515625,
                        0.7135009765625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "bf44f7ff-5743-4516-95f5-1f59ea902e9d"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8419556617736816,
                  "bbox": [
                    0.501861572265625,
                    0.357421875,
                    0.545989990234375,
                    0.5419921875
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52392578125,
                        0.5419921875
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8335957527160645,
                  "bbox": [
                    0.6156768798828125,
                    0.445068359375,
                    0.6538543701171875,
                    0.551513671875
                  ],
                  "trackId": 241,
                  "eventIds": [
                    "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.634765625,
                        0.551513671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7747538685798645,
                  "bbox": [
                    0.6519775390625,
                    0.43865966796875,
                    0.6859130859375,
                    0.53497314453125
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6689453125,
                        0.53497314453125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 352,
          "sent_status": 50,
          "sent_frames": 302,
          "queued": 1,
          "queuedBytes": 5720,
          "channels": 3
        }
      }
    },
    {
      "at": 1299775.864520045,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299775.930158792,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447054.9920363,
                "source_stage": "native_completed",
                "source_stage_at": 1789447055.106037,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447055.0507467,
                  "preprocess_output": 1789447055.055679,
                  "infer_output": 1789447055.0783448,
                  "consume_entered": 1789447055.0817559,
                  "native_completed": 1789447055.106037,
                  "inference_frame_completed": 1789447054.9920177
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 288,
                  "preprocess_output": 288,
                  "infer_output": 288,
                  "consume_entered": 288,
                  "native_completed": 288,
                  "inference_frame_completed": 179
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 30.5,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299775889872557,
                "counts": {
                  "decoded": 288,
                  "selected": 288,
                  "preprocess": 288,
                  "infer": 288,
                  "native": 288,
                  "result": 179,
                  "publisher_submit": 179
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299775797996310,
                  "selected": 1299775798096612,
                  "preprocess": 1299775802973910,
                  "infer": 1299775825636920,
                  "native": 1299775853369226,
                  "result": 1299775735957715,
                  "publisher_submit": 1299775739400985
                },
                "detail": true,
                "pending_samples": 73,
                "last_frame": {
                  "selected": [
                    287,
                    28875462028
                  ],
                  "preprocess": [
                    287,
                    28875462028
                  ],
                  "infer": [
                    287,
                    28875462028
                  ],
                  "native": [
                    287,
                    28875462028
                  ],
                  "result": [
                    275,
                    27675462028
                  ],
                  "publisher_submit": [
                    275,
                    27675462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 95,
                    "mean_ms": 62.83730746315789,
                    "p95_ms": 290.826633,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 95,
                    "mean_ms": 122.84926974736842,
                    "p95_ms": 491.779517,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 95,
                    "mean_ms": 54.23675293684211,
                    "p95_ms": 166.198403,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 24,
                    "mean_ms": 383.65636466666666,
                    "p95_ms": 1372.981233,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 24,
                    "mean_ms": 59.316499375,
                    "p95_ms": 168.899846,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 24,
                    "mean_ms": 1.0078007916666667,
                    "p95_ms": 1.34351,
                    "max_ms": 1.393572
                  },
                  "scenario": {
                    "samples": 24,
                    "mean_ms": 1.021336,
                    "p95_ms": 1.385436,
                    "max_ms": 1.41105
                  },
                  "result_work": {
                    "samples": 24,
                    "mean_ms": 391.4418312083333,
                    "p95_ms": 1376.940653,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 24,
                    "mean_ms": 924.479412875,
                    "p95_ms": 983.096596,
                    "max_ms": 994.292594
                  },
                  "native_to_result": {
                    "samples": 22,
                    "mean_ms": 1265.205630090909,
                    "p95_ms": 2009.117916,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 22,
                    "mean_ms": 1.236239181818182,
                    "p95_ms": 3.44327,
                    "max_ms": 4.805164
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 10,
              "events_created": 13,
              "processed": 179,
              "stale": 87,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 180,
            "per_task_buffers": {
              "det": 180
            },
            "latest": {
              "fn": 277,
              "det": 9,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299775.930216298,
            "entries": 180,
            "length": 30,
            "last": "1789447055162-0",
            "pttl": 9919,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 277,
              "ptsNs": 27875462028,
              "ingestTimeWallMs": 1789447054044,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1194234473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447053939,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9116528034210205,
                  "bbox": [
                    0.3566131591796875,
                    0.34063720703125,
                    0.4036407470703125,
                    0.56072998046875
                  ],
                  "trackId": 1201,
                  "eventIds": [
                    "36b7cc86-6349-4f99-9770-11347ff5c3e4"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.380126953125,
                        0.56072998046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "36b7cc86-6349-4f99-9770-11347ff5c3e4"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9032942056655884,
                  "bbox": [
                    0.9435577392578125,
                    0.287841796875,
                    0.9998016357421875,
                    0.862548828125
                  ],
                  "trackId": 1121,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.9716796875,
                        0.862548828125
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8755743503570557,
                  "bbox": [
                    0.795135498046875,
                    0.3389892578125,
                    0.844512939453125,
                    0.6082763671875
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.81982421875,
                        0.6082763671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8294920325279236,
                  "bbox": [
                    0.616729736328125,
                    0.444305419921875,
                    0.653778076171875,
                    0.551300048828125
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.551300048828125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8165527582168579,
                  "bbox": [
                    0.5803070068359375,
                    0.39129638671875,
                    0.6081695556640625,
                    0.51348876953125
                  ],
                  "trackId": 1281,
                  "eventIds": [
                    "cc554984-399e-40e7-b7bd-096e241d3f4d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.59423828125,
                        0.51348876953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7549149990081787,
                  "bbox": [
                    0.652496337890625,
                    0.44219970703125,
                    0.687347412109375,
                    0.53533935546875
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.53533935546875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5976079106330872,
                  "bbox": [
                    0.6338119506835938,
                    0.4647216796875,
                    0.6601333618164062,
                    0.5548095703125
                  ],
                  "trackId": 801,
                  "eventIds": [
                    "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64697265625,
                        0.5548095703125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299776.015882923,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447055.2502193,
                "source_stage": "inference_frame_completed",
                "source_stage_at": 1789447055.2502038,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447055.2401526,
                  "preprocess_output": 1789447055.2496095,
                  "infer_output": 1789447055.1543472,
                  "consume_entered": 1789447055.1621714,
                  "native_completed": 1789447055.1773567,
                  "inference_frame_completed": 1789447055.2502038
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 243,
                  "preprocess_output": 243,
                  "infer_output": 242,
                  "consume_entered": 242,
                  "native_completed": 242,
                  "inference_frame_completed": 143
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 26.4,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299776006475370,
                "counts": {
                  "decoded": 243,
                  "selected": 243,
                  "preprocess": 243,
                  "infer": 242,
                  "native": 242,
                  "result": 143,
                  "publisher_submit": 143
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299775987469272,
                  "selected": 1299775987505688,
                  "preprocess": 1299775996865783,
                  "infer": 1299775901691040,
                  "native": 1299775924655900,
                  "result": 1299775994599787,
                  "publisher_submit": 1299775997579240
                },
                "detail": true,
                "pending_samples": 72,
                "last_frame": {
                  "selected": [
                    242,
                    26172222057
                  ],
                  "preprocess": [
                    242,
                    26172222057
                  ],
                  "infer": [
                    241,
                    26072222057
                  ],
                  "native": [
                    241,
                    26072222057
                  ],
                  "result": [
                    230,
                    24972222057
                  ],
                  "publisher_submit": [
                    230,
                    24972222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 96,
                    "mean_ms": 73.24026528125,
                    "p95_ms": 300.267675,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 95,
                    "mean_ms": 132.71172798947367,
                    "p95_ms": 582.872921,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 95,
                    "mean_ms": 54.44557611578947,
                    "p95_ms": 188.27601,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 26,
                    "mean_ms": 347.2360051923077,
                    "p95_ms": 1268.554357,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 26,
                    "mean_ms": 56.1116775,
                    "p95_ms": 160.655015,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 26,
                    "mean_ms": 2.232371769230769,
                    "p95_ms": 11.062907,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 26,
                    "mean_ms": 4.573218230769231,
                    "p95_ms": 16.028674,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 26,
                    "mean_ms": 371.51327076923076,
                    "p95_ms": 1374.597726,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 26,
                    "mean_ms": 933.2468335,
                    "p95_ms": 992.550638,
                    "max_ms": 997.172642
                  },
                  "native_to_result": {
                    "samples": 24,
                    "mean_ms": 1281.3094369583332,
                    "p95_ms": 2239.90518,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 24,
                    "mean_ms": 1.03682725,
                    "p95_ms": 3.180856,
                    "max_ms": 3.525124
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 9,
              "events_created": 10,
              "processed": 143,
              "stale": 82,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 143,
            "per_task_buffers": {
              "det": 143
            },
            "latest": {
              "fn": 230,
              "det": 9,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299776.015937072,
            "entries": 143,
            "length": 30,
            "last": "1789447055254-0",
            "pttl": 9953,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 230,
              "ptsNs": 24972222057,
              "ingestTimeWallMs": 1789447054059,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3322159188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470697547,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9000037312507629,
                  "bbox": [
                    0.8004150390625,
                    0.3411865234375,
                    0.8695068359375,
                    0.6802978515625
                  ],
                  "trackId": 561,
                  "eventIds": [
                    "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8349609375,
                        0.6802978515625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8978744745254517,
                  "bbox": [
                    0.69940185546875,
                    0.3216552734375,
                    0.77813720703125,
                    0.7135009765625
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "bf44f7ff-5743-4516-95f5-1f59ea902e9d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.73876953125,
                        0.7135009765625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "bf44f7ff-5743-4516-95f5-1f59ea902e9d"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8858291506767273,
                  "bbox": [
                    0.38153839111328125,
                    0.39227294921875,
                    0.40605926513671875,
                    0.52960205078125
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.393798828125,
                        0.52960205078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8842393159866333,
                  "bbox": [
                    0.51409912109375,
                    0.35736083984375,
                    0.55914306640625,
                    0.54595947265625
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.53662109375,
                        0.54595947265625
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7877680063247681,
                  "bbox": [
                    0.6159515380859375,
                    0.451202392578125,
                    0.6526031494140625,
                    0.550750732421875
                  ],
                  "trackId": 241,
                  "eventIds": [
                    "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63427734375,
                        0.550750732421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6342035531997681,
                  "bbox": [
                    0.6535415649414062,
                    0.447509765625,
                    0.6833724975585938,
                    0.534912109375
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66845703125,
                        0.534912109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5684158205986023,
                  "bbox": [
                    0.633941650390625,
                    0.467742919921875,
                    0.660980224609375,
                    0.555694580078125
                  ],
                  "trackId": 321,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6474609375,
                        0.555694580078125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": [
                {
                  "schemaVersion": "1",
                  "cameraId": "rtsp-test-source-02",
                  "sourceId": "rtsp-test-source-02",
                  "serverId": "test-ai",
                  "streamId": "web-cam08-test",
                  "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
                  "runGeneration": 1,
                  "frameSeq": 230,
                  "ptsNs": 24972222057,
                  "ingestTimeWallMs": 1789447054059,
                  "frameWidth": 1280,
                  "frameHeight": 720,
                  "coordinateSpace": "SOURCE_FRAME",
                  "format": "XYXY",
                  "normalized": true,
                  "origin": "TOP_LEFT",
                  "configVersion": null,
                  "frameTime": {
                    "anchorId": null,
                    "startWallTimeMs": 1789433784668,
                    "anchorRtpTimestamp": 0,
                    "rtpClockRate": 90000,
                    "rtpTimestamp": 3322159188,
                    "rtpTimestampExt": null,
                    "detectedAtWallMs": 1789470697547,
                    "syncStatus": "ESTIMATED",
                    "timeSource": "SYNTHETIC_TEST_ANCHOR"
                  },
                  "eventId": "7d0947d7-d13b-4ad3-ad12-5687551cf05e",
                  "scenario": "INTRUSION",
                  "categoryKey": "person",
                  "modelKey": "RFDETRMedium",
                  "classId": 0,
                  "trackId": 561,
                  "roiId": "primary",
                  "objectRef": "0",
                  "confidence": 0.9000037312507629,
                  "bbox": [
                    0.8004150390625,
                    0.3411865234375,
                    0.8695068359375,
                    0.6802978515625
                  ],
                  "clipUri": null,
                  "thumbnailUri": null,
                  "deliveryStatus": "NOT_SUBMITTED"
                }
              ]
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 377,
          "sent_status": 56,
          "sent_frames": 321,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299777.051855974,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299777.112952234,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447056.294461,
                "source_stage": "native_completed",
                "source_stage_at": 1789447056.3067188,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447056.2500296,
                  "preprocess_output": 1789447056.2582023,
                  "infer_output": 1789447056.2802253,
                  "consume_entered": 1789447056.2887843,
                  "native_completed": 1789447056.3067188,
                  "inference_frame_completed": 1789447056.2944376
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 300,
                  "preprocess_output": 300,
                  "infer_output": 300,
                  "consume_entered": 300,
                  "native_completed": 300,
                  "inference_frame_completed": 189
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 31.7,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299777090762338,
                "counts": {
                  "decoded": 300,
                  "selected": 300,
                  "preprocess": 300,
                  "infer": 300,
                  "native": 300,
                  "result": 189,
                  "publisher_submit": 189
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299776997389357,
                  "selected": 1299776997405793,
                  "preprocess": 1299777005567293,
                  "infer": 1299777027529084,
                  "native": 1299777054082543,
                  "result": 1299777035872744,
                  "publisher_submit": 1299777041824846
                },
                "detail": true,
                "pending_samples": 75,
                "last_frame": {
                  "selected": [
                    299,
                    30075462028
                  ],
                  "preprocess": [
                    299,
                    30075462028
                  ],
                  "infer": [
                    299,
                    30075462028
                  ],
                  "native": [
                    299,
                    30075462028
                  ],
                  "result": [
                    288,
                    28975462028
                  ],
                  "publisher_submit": [
                    288,
                    28975462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 107,
                    "mean_ms": 56.32579985981309,
                    "p95_ms": 275.626963,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 107,
                    "mean_ms": 111.57292943925233,
                    "p95_ms": 490.29953,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 107,
                    "mean_ms": 50.67961543925234,
                    "p95_ms": 166.065637,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 34,
                    "mean_ms": 306.5247469411765,
                    "p95_ms": 1372.981233,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 34,
                    "mean_ms": 52.85344788235294,
                    "p95_ms": 168.899846,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 34,
                    "mean_ms": 1.001500205882353,
                    "p95_ms": 1.379779,
                    "max_ms": 1.393572
                  },
                  "scenario": {
                    "samples": 34,
                    "mean_ms": 1.0144560294117646,
                    "p95_ms": 1.392415,
                    "max_ms": 1.41105
                  },
                  "result_work": {
                    "samples": 34,
                    "mean_ms": 314.2538763235294,
                    "p95_ms": 1376.940653,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 34,
                    "mean_ms": 931.4189976764707,
                    "p95_ms": 983.096596,
                    "max_ms": 994.292594
                  },
                  "native_to_result": {
                    "samples": 32,
                    "mean_ms": 1204.57858334375,
                    "p95_ms": 2009.117916,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 32,
                    "mean_ms": 1.36601853125,
                    "p95_ms": 4.805164,
                    "max_ms": 5.952102
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 10,
              "events_created": 13,
              "processed": 189,
              "stale": 89,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 189,
            "per_task_buffers": {
              "det": 189
            },
            "latest": {
              "fn": 288,
              "det": 9,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299777.112988692,
            "entries": 189,
            "length": 30,
            "last": "1789447056296-0",
            "pttl": 9907,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 288,
              "ptsNs": 28975462028,
              "ingestTimeWallMs": 1789447055155,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1194333473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447055039,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8984106183052063,
                  "bbox": [
                    0.9503631591796875,
                    0.293212890625,
                    0.9998321533203125,
                    0.863037109375
                  ],
                  "trackId": 1121,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.97509765625,
                        0.863037109375
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8971559405326843,
                  "bbox": [
                    0.3094024658203125,
                    0.33551025390625,
                    0.3590545654296875,
                    0.55706787109375
                  ],
                  "trackId": 1201,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.334228515625,
                        0.55706787109375
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8802834153175354,
                  "bbox": [
                    0.5873260498046875,
                    0.395111083984375,
                    0.6128692626953125,
                    0.513580322265625
                  ],
                  "trackId": 1281,
                  "eventIds": [
                    "cc554984-399e-40e7-b7bd-096e241d3f4d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.60009765625,
                        0.513580322265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8696039319038391,
                  "bbox": [
                    0.7951202392578125,
                    0.338623046875,
                    0.8474578857421875,
                    0.608154296875
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8212890625,
                        0.608154296875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8264318704605103,
                  "bbox": [
                    0.6169586181640625,
                    0.44415283203125,
                    0.6535491943359375,
                    0.55096435546875
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.55096435546875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7704647779464722,
                  "bbox": [
                    0.65191650390625,
                    0.443084716796875,
                    0.68695068359375,
                    0.535430908203125
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66943359375,
                        0.535430908203125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6399611234664917,
                  "bbox": [
                    0.6330413818359375,
                    0.4622802734375,
                    0.6696929931640625,
                    0.5552978515625
                  ],
                  "trackId": 801,
                  "eventIds": [
                    "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6513671875,
                        0.5552978515625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299777.153767136,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447056.3319721,
                "source_stage": "native_completed",
                "source_stage_at": 1789447056.3517964,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447056.3132687,
                  "preprocess_output": 1789447056.314893,
                  "infer_output": 1789447056.3349664,
                  "consume_entered": 1789447056.3381507,
                  "native_completed": 1789447056.3517964,
                  "inference_frame_completed": 1789447056.331954
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 254,
                  "preprocess_output": 254,
                  "infer_output": 254,
                  "consume_entered": 254,
                  "native_completed": 254,
                  "inference_frame_completed": 152
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 27.6,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299777144314060,
                "counts": {
                  "decoded": 254,
                  "selected": 254,
                  "preprocess": 254,
                  "infer": 254,
                  "native": 254,
                  "result": 152,
                  "publisher_submit": 152
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299777060633622,
                  "selected": 1299777060647663,
                  "preprocess": 1299777062271917,
                  "infer": 1299777082249494,
                  "native": 1299777099185194,
                  "result": 1299777078758174,
                  "publisher_submit": 1299777079355643
                },
                "detail": true,
                "pending_samples": 74,
                "last_frame": {
                  "selected": [
                    253,
                    27272222057
                  ],
                  "preprocess": [
                    253,
                    27272222057
                  ],
                  "infer": [
                    253,
                    27272222057
                  ],
                  "native": [
                    253,
                    27272222057
                  ],
                  "result": [
                    242,
                    26172222057
                  ],
                  "publisher_submit": [
                    242,
                    26172222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 107,
                    "mean_ms": 65.98780585046728,
                    "p95_ms": 278.698641,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 107,
                    "mean_ms": 120.71529174766356,
                    "p95_ms": 505.033392,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 107,
                    "mean_ms": 50.667976588785045,
                    "p95_ms": 179.428332,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 35,
                    "mean_ms": 286.34519377142857,
                    "p95_ms": 1268.554357,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 35,
                    "mean_ms": 51.25947217142857,
                    "p95_ms": 160.655015,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 35,
                    "mean_ms": 2.0115310285714285,
                    "p95_ms": 11.062907,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 35,
                    "mean_ms": 4.036986914285714,
                    "p95_ms": 16.028674,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 35,
                    "mean_ms": 306.81623702857144,
                    "p95_ms": 1374.597726,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 35,
                    "mean_ms": 933.2724626285714,
                    "p95_ms": 992.550638,
                    "max_ms": 997.172642
                  },
                  "native_to_result": {
                    "samples": 33,
                    "mean_ms": 1219.6529534545455,
                    "p95_ms": 2239.90518,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 33,
                    "mean_ms": 1.104360878787879,
                    "p95_ms": 3.525124,
                    "max_ms": 4.800038
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 10,
              "events_created": 10,
              "processed": 152,
              "stale": 84,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 152,
            "per_task_buffers": {
              "det": 152
            },
            "latest": {
              "fn": 242,
              "det": 10,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299777.153800046,
            "entries": 152,
            "length": 30,
            "last": "1789447056338-0",
            "pttl": 9907,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 242,
              "ptsNs": 26172222057,
              "ingestTimeWallMs": 1789447055239,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3322267188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470698747,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9229002594947815,
                  "bbox": [
                    0.699432373046875,
                    0.3209228515625,
                    0.782012939453125,
                    0.7142333984375
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "bf44f7ff-5743-4516-95f5-1f59ea902e9d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.74072265625,
                        0.7142333984375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "bf44f7ff-5743-4516-95f5-1f59ea902e9d"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8908652067184448,
                  "bbox": [
                    0.5562286376953125,
                    0.35467529296875,
                    0.5931854248046875,
                    0.55987548828125
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "7a69619e-e542-4842-b324-5d7dff328b53"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.57470703125,
                        0.55987548828125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a69619e-e542-4842-b324-5d7dff328b53"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8776865601539612,
                  "bbox": [
                    0.381500244140625,
                    0.3914794921875,
                    0.406097412109375,
                    0.5294189453125
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.393798828125,
                        0.5294189453125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8698251843452454,
                  "bbox": [
                    0.7730560302734375,
                    0.342529296875,
                    0.8294830322265625,
                    0.656982421875
                  ],
                  "trackId": 561,
                  "eventIds": [
                    "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.80126953125,
                        0.656982421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8014700412750244,
                  "bbox": [
                    0.616241455078125,
                    0.44769287109375,
                    0.653289794921875,
                    0.55084228515625
                  ],
                  "trackId": 241,
                  "eventIds": [
                    "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.634765625,
                        0.55084228515625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6364660859107971,
                  "bbox": [
                    0.6548538208007812,
                    0.44384765625,
                    0.6840133666992188,
                    0.53466796875
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66943359375,
                        0.53466796875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5725435614585876,
                  "bbox": [
                    0.6339263916015625,
                    0.466094970703125,
                    0.6619720458984375,
                    0.555389404296875
                  ],
                  "trackId": 321,
                  "eventIds": [
                    "a886bd24-d18f-4866-8051-2335c36a288e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64794921875,
                        0.555389404296875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a886bd24-d18f-4866-8051-2335c36a288e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 401,
          "sent_status": 61,
          "sent_frames": 340,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299778.179975387,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299778.256210556,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447057.3519454,
                "source_stage": "infer_output",
                "source_stage_at": 1789447057.470734,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447057.4462535,
                  "preprocess_output": 1789447057.4477956,
                  "infer_output": 1789447057.470734,
                  "consume_entered": 1789447057.3820782,
                  "native_completed": 1789447057.3968904,
                  "inference_frame_completed": 1789447057.35191
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 312,
                  "preprocess_output": 312,
                  "infer_output": 312,
                  "consume_entered": 311,
                  "native_completed": 311,
                  "inference_frame_completed": 198
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 32.8,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299778219179558,
                "counts": {
                  "decoded": 312,
                  "selected": 312,
                  "preprocess": 312,
                  "infer": 312,
                  "native": 311,
                  "result": 198,
                  "publisher_submit": 198
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299778193567718,
                  "selected": 1299778193606478,
                  "preprocess": 1299778195143270,
                  "infer": 1299778217970877,
                  "native": 1299778144212557,
                  "result": 1299778097833244,
                  "publisher_submit": 1299778099280733
                },
                "detail": true,
                "pending_samples": 78,
                "last_frame": {
                  "selected": [
                    311,
                    31275462028
                  ],
                  "preprocess": [
                    311,
                    31275462028
                  ],
                  "infer": [
                    311,
                    31275462028
                  ],
                  "native": [
                    310,
                    31175462028
                  ],
                  "result": [
                    299,
                    30075462028
                  ],
                  "publisher_submit": [
                    299,
                    30075462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 119,
                    "mean_ms": 51.17443100840336,
                    "p95_ms": 275.626963,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 119,
                    "mean_ms": 102.77659462184873,
                    "p95_ms": 490.29953,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 118,
                    "mean_ms": 47.838498813559326,
                    "p95_ms": 166.065637,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 43,
                    "mean_ms": 265.51390744186045,
                    "p95_ms": 1154.663973,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 43,
                    "mean_ms": 49.199333465116275,
                    "p95_ms": 157.75009,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 43,
                    "mean_ms": 1.0069113023255813,
                    "p95_ms": 1.379779,
                    "max_ms": 1.715308
                  },
                  "scenario": {
                    "samples": 43,
                    "mean_ms": 1.0196676511627907,
                    "p95_ms": 1.392415,
                    "max_ms": 1.732063
                  },
                  "result_work": {
                    "samples": 43,
                    "mean_ms": 273.0204057209302,
                    "p95_ms": 1158.458409,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 43,
                    "mean_ms": 934.1443668837209,
                    "p95_ms": 981.178708,
                    "max_ms": 994.292594
                  },
                  "native_to_result": {
                    "samples": 41,
                    "mean_ms": 1173.461240390244,
                    "p95_ms": 1894.11623,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 41,
                    "mean_ms": 1.3004321707317072,
                    "p95_ms": 3.44327,
                    "max_ms": 5.952102
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 10,
              "events_created": 13,
              "processed": 198,
              "stale": 91,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 198,
            "per_task_buffers": {
              "det": 198
            },
            "latest": {
              "fn": 299,
              "det": 8,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299778.256236406,
            "entries": 198,
            "length": 30,
            "last": "1789447057356-0",
            "pttl": 9991,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 299,
              "ptsNs": 30075462028,
              "ingestTimeWallMs": 1789447056249,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1194432473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447056139,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9453993439674377,
                  "bbox": [
                    0.929718017578125,
                    0.291748046875,
                    0.999969482421875,
                    0.846923828125
                  ],
                  "trackId": 1121,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.96484375,
                        0.846923828125
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9003546833992004,
                  "bbox": [
                    0.3062896728515625,
                    0.34130859375,
                    0.3528900146484375,
                    0.560546875
                  ],
                  "trackId": 1201,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.32958984375,
                        0.560546875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8783142566680908,
                  "bbox": [
                    0.5886688232421875,
                    0.395172119140625,
                    0.6134796142578125,
                    0.513519287109375
                  ],
                  "trackId": 1281,
                  "eventIds": [
                    "cc554984-399e-40e7-b7bd-096e241d3f4d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.60107421875,
                        0.513519287109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8748277425765991,
                  "bbox": [
                    0.7966156005859375,
                    0.3380126953125,
                    0.8449859619140625,
                    0.6087646484375
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.82080078125,
                        0.6087646484375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8292155861854553,
                  "bbox": [
                    0.616668701171875,
                    0.44390869140625,
                    0.653839111328125,
                    0.55072021484375
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.55072021484375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7757747173309326,
                  "bbox": [
                    0.6526031494140625,
                    0.4432373046875,
                    0.6882171630859375,
                    0.5367431640625
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.67041015625,
                        0.5367431640625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6612669825553894,
                  "bbox": [
                    0.6330795288085938,
                    0.468231201171875,
                    0.6579360961914062,
                    0.555206298828125
                  ],
                  "trackId": 801,
                  "eventIds": [
                    "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6455078125,
                        0.555206298828125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299778.312923009,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447057.4249866,
                "source_stage": "native_completed",
                "source_stage_at": 1789447057.555435,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447057.5133574,
                  "preprocess_output": 1789447057.5181587,
                  "infer_output": 1789447057.538375,
                  "consume_entered": 1789447057.5401797,
                  "native_completed": 1789447057.555435,
                  "inference_frame_completed": 1789447057.424966
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 266,
                  "preprocess_output": 266,
                  "infer_output": 266,
                  "consume_entered": 266,
                  "native_completed": 266,
                  "inference_frame_completed": 162
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 28.7,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299778306921697,
                "counts": {
                  "decoded": 266,
                  "selected": 266,
                  "preprocess": 266,
                  "infer": 266,
                  "native": 266,
                  "result": 162,
                  "publisher_submit": 162
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299778260702100,
                  "selected": 1299778260724120,
                  "preprocess": 1299778265484130,
                  "infer": 1299778285668755,
                  "native": 1299778302794825,
                  "result": 1299778171632873,
                  "publisher_submit": 1299778172361714
                },
                "detail": true,
                "pending_samples": 76,
                "last_frame": {
                  "selected": [
                    265,
                    28472222057
                  ],
                  "preprocess": [
                    265,
                    28472222057
                  ],
                  "infer": [
                    265,
                    28472222057
                  ],
                  "native": [
                    265,
                    28472222057
                  ],
                  "result": [
                    253,
                    27272222057
                  ],
                  "publisher_submit": [
                    253,
                    27272222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 119,
                    "mean_ms": 59.67740290756302,
                    "p95_ms": 278.698641,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 119,
                    "mean_ms": 110.61211974789916,
                    "p95_ms": 505.033392,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 119,
                    "mean_ms": 47.808629100840335,
                    "p95_ms": 179.428332,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 45,
                    "mean_ms": 245.15026873333332,
                    "p95_ms": 999.139616,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 45,
                    "mean_ms": 47.33729062222222,
                    "p95_ms": 147.629219,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 45,
                    "mean_ms": 1.809804822222222,
                    "p95_ms": 10.309114,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 45,
                    "mean_ms": 3.3877953333333335,
                    "p95_ms": 14.623615,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 45,
                    "mean_ms": 262.8789106,
                    "p95_ms": 1213.786406,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 45,
                    "mean_ms": 931.1716711777777,
                    "p95_ms": 990.911139,
                    "max_ms": 997.172642
                  },
                  "native_to_result": {
                    "samples": 43,
                    "mean_ms": 1176.2337598372092,
                    "p95_ms": 1967.016548,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 43,
                    "mean_ms": 1.4431905813953487,
                    "p95_ms": 4.800038,
                    "max_ms": 12.60064
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 11,
              "events_created": 10,
              "processed": 162,
              "stale": 85,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 162,
            "per_task_buffers": {
              "det": 162
            },
            "latest": {
              "fn": 253,
              "det": 8,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299778.312955618,
            "entries": 162,
            "length": 30,
            "last": "1789447057427-0",
            "pttl": 9989,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 254,
              "ptsNs": 27372222057,
              "ingestTimeWallMs": 1789447056412,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3322375188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470699947,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.929568350315094,
                  "bbox": [
                    0.7559814453125,
                    0.3209228515625,
                    0.8280029296875,
                    0.7171630859375
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "bf44f7ff-5743-4516-95f5-1f59ea902e9d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.7919921875,
                        0.7171630859375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "bf44f7ff-5743-4516-95f5-1f59ea902e9d"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9171544313430786,
                  "bbox": [
                    0.583740234375,
                    0.354736328125,
                    0.641845703125,
                    0.571044921875
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.61279296875,
                        0.571044921875
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8940516710281372,
                  "bbox": [
                    0.7197265625,
                    0.34765625,
                    0.7744140625,
                    0.63671875
                  ],
                  "trackId": 561,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.7470703125,
                        0.63671875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8687154054641724,
                  "bbox": [
                    0.38177490234375,
                    0.390380859375,
                    0.40631103515625,
                    0.529052734375
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.39404296875,
                        0.529052734375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7853085398674011,
                  "bbox": [
                    0.6271133422851562,
                    0.452484130859375,
                    0.6551132202148438,
                    0.555328369140625
                  ],
                  "trackId": 241,
                  "eventIds": [
                    "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64111328125,
                        0.555328369140625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ed29e83e-6986-4ef8-94dc-3a0a1509130f"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6917057037353516,
                  "bbox": [
                    0.65362548828125,
                    0.4434814453125,
                    0.68328857421875,
                    0.5325927734375
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66845703125,
                        0.5325927734375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 424,
          "sent_status": 64,
          "sent_frames": 360,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299779.339246379,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299779.546792737,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447058.5476089,
                "source_stage": "native_completed",
                "source_stage_at": 1789447058.6066647,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447058.546662,
                  "preprocess_output": 1789447058.5497832,
                  "infer_output": 1789447058.5763037,
                  "consume_entered": 1789447058.5805597,
                  "native_completed": 1789447058.6066647,
                  "inference_frame_completed": 1789447058.547567
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 323,
                  "preprocess_output": 323,
                  "infer_output": 323,
                  "consume_entered": 323,
                  "native_completed": 323,
                  "inference_frame_completed": 206
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 34.0,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299779394236843,
                "counts": {
                  "decoded": 323,
                  "selected": 323,
                  "preprocess": 323,
                  "infer": 323,
                  "native": 323,
                  "result": 206,
                  "publisher_submit": 206
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299779293972105,
                  "selected": 1299779293990640,
                  "preprocess": 1299779297151347,
                  "infer": 1299779323630664,
                  "native": 1299779354025891,
                  "result": 1299779292377598,
                  "publisher_submit": 1299779294955485
                },
                "detail": true,
                "pending_samples": 81,
                "last_frame": {
                  "selected": [
                    322,
                    32375462028
                  ],
                  "preprocess": [
                    322,
                    32375462028
                  ],
                  "infer": [
                    322,
                    32375462028
                  ],
                  "native": [
                    322,
                    32375462028
                  ],
                  "result": [
                    311,
                    31275462028
                  ],
                  "publisher_submit": [
                    311,
                    31275462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 130,
                    "mean_ms": 47.336387884615384,
                    "p95_ms": 274.932254,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 130,
                    "mean_ms": 96.05994904615385,
                    "p95_ms": 490.123305,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 130,
                    "mean_ms": 45.309111538461536,
                    "p95_ms": 165.01562,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 51,
                    "mean_ms": 246.28317433333333,
                    "p95_ms": 1154.663973,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 51,
                    "mean_ms": 48.1400468627451,
                    "p95_ms": 157.75009,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 51,
                    "mean_ms": 1.0037778823529413,
                    "p95_ms": 1.379779,
                    "max_ms": 1.715308
                  },
                  "scenario": {
                    "samples": 51,
                    "mean_ms": 1.0164156862745097,
                    "p95_ms": 1.392415,
                    "max_ms": 1.732063
                  },
                  "result_work": {
                    "samples": 51,
                    "mean_ms": 253.57753025490197,
                    "p95_ms": 1158.458409,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 51,
                    "mean_ms": 936.302515745098,
                    "p95_ms": 983.096596,
                    "max_ms": 997.070288
                  },
                  "native_to_result": {
                    "samples": 49,
                    "mean_ms": 1161.260620367347,
                    "p95_ms": 1894.11623,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 49,
                    "mean_ms": 1.3152349387755102,
                    "p95_ms": 3.44327,
                    "max_ms": 5.952102
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 10,
              "events_created": 13,
              "processed": 206,
              "stale": 95,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 206,
            "per_task_buffers": {
              "det": 206
            },
            "latest": {
              "fn": 311,
              "det": 9,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299779.546870904,
            "entries": 206,
            "length": 30,
            "last": "1789447058550-0",
            "pttl": 9689,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 311,
              "ptsNs": 31275462028,
              "ingestTimeWallMs": 1789447057445,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1194540473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447057339,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9425067901611328,
                  "bbox": [
                    0.825439453125,
                    0.30078125,
                    0.924560546875,
                    0.8193359375
                  ],
                  "trackId": 1121,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.875,
                        0.8193359375
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8637367486953735,
                  "bbox": [
                    0.5883255004882812,
                    0.39617919921875,
                    0.6138229370117188,
                    0.51348876953125
                  ],
                  "trackId": 1281,
                  "eventIds": [
                    "cc554984-399e-40e7-b7bd-096e241d3f4d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.60107421875,
                        0.51348876953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8629302382469177,
                  "bbox": [
                    0.3237762451171875,
                    0.495849609375,
                    0.3739776611328125,
                    0.589111328125
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.348876953125,
                        0.589111328125
                      ],
                      "inside": false,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8530579209327698,
                  "bbox": [
                    0.793731689453125,
                    0.33837890625,
                    0.841033935546875,
                    0.60693359375
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8173828125,
                        0.60693359375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8172829747200012,
                  "bbox": [
                    0.61669921875,
                    0.447418212890625,
                    0.65380859375,
                    0.551116943359375
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.551116943359375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7527403235435486,
                  "bbox": [
                    0.6526641845703125,
                    0.44366455078125,
                    0.6871795654296875,
                    0.53729248046875
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.53729248046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6216557621955872,
                  "bbox": [
                    0.6334991455078125,
                    0.468353271484375,
                    0.6584930419921875,
                    0.555084228515625
                  ],
                  "trackId": 801,
                  "eventIds": [
                    "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64599609375,
                        0.555084228515625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299779.691462591,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447058.814164,
                "source_stage": "consume_entered",
                "source_stage_at": 1789447058.8737907,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447058.8212671,
                  "preprocess_output": 1789447058.8262563,
                  "infer_output": 1789447058.8284936,
                  "consume_entered": 1789447058.8737907,
                  "native_completed": 1789447058.6617086,
                  "inference_frame_completed": 1789447058.8141093
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 279,
                  "preprocess_output": 279,
                  "infer_output": 278,
                  "consume_entered": 278,
                  "native_completed": 277,
                  "inference_frame_completed": 173
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 30.0,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299779630338176,
                "counts": {
                  "decoded": 279,
                  "selected": 279,
                  "preprocess": 279,
                  "infer": 278,
                  "native": 277,
                  "result": 173,
                  "publisher_submit": 173
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299779568520369,
                  "selected": 1299779568583723,
                  "preprocess": 1299779573568588,
                  "infer": 1299779575662677,
                  "native": 1299779409081547,
                  "result": 1299779560052437,
                  "publisher_submit": 1299779561466633
                },
                "detail": true,
                "pending_samples": 78,
                "last_frame": {
                  "selected": [
                    278,
                    29772222057
                  ],
                  "preprocess": [
                    278,
                    29772222057
                  ],
                  "infer": [
                    277,
                    29672222057
                  ],
                  "native": [
                    276,
                    29572222057
                  ],
                  "result": [
                    265,
                    28472222057
                  ],
                  "publisher_submit": [
                    265,
                    28472222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 132,
                    "mean_ms": 54.09532647727273,
                    "p95_ms": 266.433968,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 131,
                    "mean_ms": 102.78914697709924,
                    "p95_ms": 497.362278,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 130,
                    "mean_ms": 45.56154703846153,
                    "p95_ms": 156.585587,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 56,
                    "mean_ms": 220.54252935714285,
                    "p95_ms": 999.139616,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 56,
                    "mean_ms": 44.8184035,
                    "p95_ms": 147.629219,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 56,
                    "mean_ms": 1.6535474285714287,
                    "p95_ms": 10.309114,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 56,
                    "mean_ms": 2.9240552321428575,
                    "p95_ms": 14.623615,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 56,
                    "mean_ms": 236.0114455892857,
                    "p95_ms": 1213.786406,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 56,
                    "mean_ms": 931.2465021428571,
                    "p95_ms": 991.612121,
                    "max_ms": 997.172642
                  },
                  "native_to_result": {
                    "samples": 54,
                    "mean_ms": 1152.4388888888889,
                    "p95_ms": 1967.016548,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 54,
                    "mean_ms": 1.3359454074074075,
                    "p95_ms": 4.800038,
                    "max_ms": 12.60064
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 8,
              "events_created": 10,
              "processed": 173,
              "stale": 88,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 173,
            "per_task_buffers": {
              "det": 173
            },
            "latest": {
              "fn": 265,
              "det": 5,
              "persons": 4,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299779.691496856,
            "entries": 173,
            "length": 30,
            "last": "1789447058823-0",
            "pttl": 9844,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 265,
              "ptsNs": 28472222057,
              "ingestTimeWallMs": 1789447057513,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3322474188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470701047,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9064877033233643,
                  "bbox": [
                    0.657318115234375,
                    0.34033203125,
                    0.713775634765625,
                    0.63134765625
                  ],
                  "trackId": 561,
                  "eventIds": [
                    "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.685546875,
                        0.63134765625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9054896235466003,
                  "bbox": [
                    0.7847900390625,
                    0.3223876953125,
                    0.8695068359375,
                    0.7567138671875
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "bf44f7ff-5743-4516-95f5-1f59ea902e9d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8271484375,
                        0.7567138671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "bf44f7ff-5743-4516-95f5-1f59ea902e9d"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.885433554649353,
                  "bbox": [
                    0.3839569091796875,
                    0.389404296875,
                    0.4124298095703125,
                    0.529052734375
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.398193359375,
                        0.529052734375
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8624675869941711,
                  "bbox": [
                    0.62042236328125,
                    0.3525390625,
                    0.66668701171875,
                    0.57666015625
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "7a69619e-e542-4842-b324-5d7dff328b53"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6435546875,
                        0.57666015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a69619e-e542-4842-b324-5d7dff328b53"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 446,
          "sent_status": 68,
          "sent_frames": 378,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299780.728428069,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299780.77671967,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447059.9249787,
                "source_stage": "native_completed",
                "source_stage_at": 1789447059.986926,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447059.9442904,
                  "preprocess_output": 1789447059.945742,
                  "infer_output": 1789447059.96844,
                  "consume_entered": 1789447059.970067,
                  "native_completed": 1789447059.986926,
                  "inference_frame_completed": 1789447059.9249606
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 337,
                  "preprocess_output": 337,
                  "infer_output": 337,
                  "consume_entered": 337,
                  "native_completed": 337,
                  "inference_frame_completed": 214
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 35.4,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299780763683073,
                "counts": {
                  "decoded": 337,
                  "selected": 337,
                  "preprocess": 337,
                  "infer": 337,
                  "native": 337,
                  "result": 214,
                  "publisher_submit": 214
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299780691644526,
                  "selected": 1299780691663857,
                  "preprocess": 1299780693082817,
                  "infer": 1299780715783235,
                  "native": 1299780734285609,
                  "result": 1299780671788202,
                  "publisher_submit": 1299780672361959
                },
                "detail": true,
                "pending_samples": 87,
                "last_frame": {
                  "selected": [
                    336,
                    33775462028
                  ],
                  "preprocess": [
                    336,
                    33775462028
                  ],
                  "infer": [
                    336,
                    33775462028
                  ],
                  "native": [
                    336,
                    33775462028
                  ],
                  "result": [
                    324,
                    32575462028
                  ],
                  "publisher_submit": [
                    324,
                    32575462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 144,
                    "mean_ms": 43.40819128472222,
                    "p95_ms": 270.809388,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 144,
                    "mean_ms": 89.63168859027778,
                    "p95_ms": 468.870347,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 144,
                    "mean_ms": 43.33359494444445,
                    "p95_ms": 163.371467,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 59,
                    "mean_ms": 235.45973637288137,
                    "p95_ms": 1154.663973,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 59,
                    "mean_ms": 47.10496220338983,
                    "p95_ms": 157.75009,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 59,
                    "mean_ms": 1.0042205762711864,
                    "p95_ms": 1.379779,
                    "max_ms": 1.715308
                  },
                  "scenario": {
                    "samples": 59,
                    "mean_ms": 1.016629220338983,
                    "p95_ms": 1.392415,
                    "max_ms": 1.732063
                  },
                  "result_work": {
                    "samples": 59,
                    "mean_ms": 242.48552720338984,
                    "p95_ms": 1158.458409,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 59,
                    "mean_ms": 937.8138744576272,
                    "p95_ms": 988.371928,
                    "max_ms": 997.070288
                  },
                  "native_to_result": {
                    "samples": 57,
                    "mean_ms": 1155.2174087017543,
                    "p95_ms": 1894.11623,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 57,
                    "mean_ms": 1.2408455263157894,
                    "p95_ms": 3.44327,
                    "max_ms": 5.952102
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 11,
              "events_created": 14,
              "processed": 214,
              "stale": 100,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 214,
            "per_task_buffers": {
              "det": 214
            },
            "latest": {
              "fn": 324,
              "det": 8,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299780.776800955,
            "entries": 214,
            "length": 30,
            "last": "1789447059927-0",
            "pttl": 9981,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 324,
              "ptsNs": 32575462028,
              "ingestTimeWallMs": 1789447058786,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1194657473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447058639,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.930962085723877,
                  "bbox": [
                    0.770904541015625,
                    0.333740234375,
                    0.850189208984375,
                    0.785400390625
                  ],
                  "trackId": 1121,
                  "eventIds": [
                    "eefd20be-ae06-477f-82c2-4ce1e2da9eb8"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.810546875,
                        0.785400390625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "eefd20be-ae06-477f-82c2-4ce1e2da9eb8"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8521990180015564,
                  "bbox": [
                    0.5888824462890625,
                    0.404937744140625,
                    0.6142425537109375,
                    0.513031005859375
                  ],
                  "trackId": 1281,
                  "eventIds": [
                    "cc554984-399e-40e7-b7bd-096e241d3f4d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6015625,
                        0.513031005859375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8019358515739441,
                  "bbox": [
                    0.617431640625,
                    0.44830322265625,
                    0.654052734375,
                    0.55072021484375
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.55072021484375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7611836194992065,
                  "bbox": [
                    0.6526947021484375,
                    0.440155029296875,
                    0.6861724853515625,
                    0.534942626953125
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66943359375,
                        0.534942626953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7478001713752747,
                  "bbox": [
                    0.32342529296875,
                    0.5330352783203125,
                    0.38165283203125,
                    0.5948944091796875
                  ],
                  "trackId": 1201,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.3525390625,
                        0.5948944091796875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6693127155303955,
                  "bbox": [
                    0.6325531005859375,
                    0.469512939453125,
                    0.6574859619140625,
                    0.554901123046875
                  ],
                  "trackId": 801,
                  "eventIds": [
                    "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64501953125,
                        0.554901123046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299780.863466002,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447060.0068996,
                "source_stage": "preprocess_output",
                "source_stage_at": 1789447060.0706265,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447060.0621812,
                  "preprocess_output": 1789447060.0706265,
                  "infer_output": 1789447059.945276,
                  "consume_entered": 1789447059.9466894,
                  "native_completed": 1789447059.9629338,
                  "inference_frame_completed": 1789447060.0068831
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 291,
                  "preprocess_output": 291,
                  "infer_output": 290,
                  "consume_entered": 290,
                  "native_completed": 290,
                  "inference_frame_completed": 184
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 31.2,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299780831542481,
                "counts": {
                  "decoded": 291,
                  "selected": 291,
                  "preprocess": 291,
                  "infer": 290,
                  "native": 290,
                  "result": 184,
                  "publisher_submit": 184
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299780809420667,
                  "selected": 1299780809478470,
                  "preprocess": 1299780817852687,
                  "infer": 1299780692634674,
                  "native": 1299780710290766,
                  "result": 1299780753674134,
                  "publisher_submit": 1299780754283107
                },
                "detail": true,
                "pending_samples": 79,
                "last_frame": {
                  "selected": [
                    290,
                    30972222057
                  ],
                  "preprocess": [
                    290,
                    30972222057
                  ],
                  "infer": [
                    289,
                    30872222057
                  ],
                  "native": [
                    289,
                    30872222057
                  ],
                  "result": [
                    279,
                    29872222057
                  ],
                  "publisher_submit": [
                    279,
                    29872222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 144,
                    "mean_ms": 50.010695069444445,
                    "p95_ms": 254.137759,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 143,
                    "mean_ms": 96.61331899300698,
                    "p95_ms": 446.836064,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 143,
                    "mean_ms": 43.65218600699301,
                    "p95_ms": 154.204876,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 67,
                    "mean_ms": 201.0818580447761,
                    "p95_ms": 965.596559,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 67,
                    "mean_ms": 43.05159267164179,
                    "p95_ms": 66.308696,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 67,
                    "mean_ms": 1.5355044776119404,
                    "p95_ms": 4.034603,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 67,
                    "mean_ms": 2.5992988358208957,
                    "p95_ms": 13.945183,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 67,
                    "mean_ms": 215.01044486567164,
                    "p95_ms": 1007.38861,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 67,
                    "mean_ms": 929.0258632985075,
                    "p95_ms": 992.1707,
                    "max_ms": 997.172642
                  },
                  "native_to_result": {
                    "samples": 65,
                    "mean_ms": 1133.694479676923,
                    "p95_ms": 1798.153188,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 65,
                    "mean_ms": 1.2830085846153847,
                    "p95_ms": 3.525124,
                    "max_ms": 12.60064
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 9,
              "events_created": 10,
              "processed": 184,
              "stale": 89,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 184,
            "per_task_buffers": {
              "det": 184
            },
            "latest": {
              "fn": 279,
              "det": 9,
              "persons": 8,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299780.86349108,
            "entries": 184,
            "length": 30,
            "last": "1789447060009-0",
            "pttl": 9864,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 279,
              "ptsNs": 29872222057,
              "ingestTimeWallMs": 1789447058943,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3322600188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470702447,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9394705891609192,
                  "bbox": [
                    0.84820556640625,
                    0.3162841796875,
                    0.95843505859375,
                    0.8096923828125
                  ],
                  "trackId": 881,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.9033203125,
                        0.8096923828125
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9029524326324463,
                  "bbox": [
                    0.563934326171875,
                    0.3367919921875,
                    0.615753173828125,
                    0.6329345703125
                  ],
                  "trackId": 561,
                  "eventIds": [
                    "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.58984375,
                        0.6329345703125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8814108967781067,
                  "bbox": [
                    0.67584228515625,
                    0.35162353515625,
                    0.72747802734375,
                    0.59173583984375
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "7a69619e-e542-4842-b324-5d7dff328b53"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.70166015625,
                        0.59173583984375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a69619e-e542-4842-b324-5d7dff328b53"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8631610870361328,
                  "bbox": [
                    0.430938720703125,
                    0.39031982421875,
                    0.454803466796875,
                    0.52520751953125
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.44287109375,
                        0.52520751953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7554566264152527,
                  "bbox": [
                    0.616973876953125,
                    0.446868896484375,
                    0.652557373046875,
                    0.550689697265625
                  ],
                  "trackId": 1121,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.634765625,
                        0.550689697265625
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6242935657501221,
                  "bbox": [
                    0.9690093994140625,
                    0.5428466796875,
                    0.9997406005859375,
                    0.9200439453125
                  ],
                  "trackId": 1041,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.984375,
                        0.9200439453125
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6088266372680664,
                  "bbox": [
                    0.6360626220703125,
                    0.465972900390625,
                    0.6735076904296875,
                    0.555511474609375
                  ],
                  "trackId": 401,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.65478515625,
                        0.555511474609375
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.535159170627594,
                  "bbox": [
                    0.6541748046875,
                    0.44793701171875,
                    0.6837158203125,
                    0.53350830078125
                  ],
                  "trackId": 1201,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6689453125,
                        0.53350830078125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 470,
          "sent_status": 73,
          "sent_frames": 397,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299781.895271026,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299781.991230988,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447061.137876,
                "source_stage": "native_completed",
                "source_stage_at": 1789447061.1857524,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447061.144108,
                  "preprocess_output": 1789447061.1505158,
                  "infer_output": 1789447061.1705754,
                  "consume_entered": 1789447061.1724668,
                  "native_completed": 1789447061.1857524,
                  "inference_frame_completed": 1789447061.1378539
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 349,
                  "preprocess_output": 349,
                  "infer_output": 349,
                  "consume_entered": 349,
                  "native_completed": 349,
                  "inference_frame_completed": 223
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 36.6,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299781968568569,
                "counts": {
                  "decoded": 349,
                  "selected": 349,
                  "preprocess": 349,
                  "infer": 349,
                  "native": 349,
                  "result": 223,
                  "publisher_submit": 223
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299781891477095,
                  "selected": 1299781891489860,
                  "preprocess": 1299781897817771,
                  "infer": 1299781917936824,
                  "native": 1299781933076481,
                  "result": 1299781884527843,
                  "publisher_submit": 1299781885252746
                },
                "detail": true,
                "pending_samples": 90,
                "last_frame": {
                  "selected": [
                    348,
                    34975462028
                  ],
                  "preprocess": [
                    348,
                    34975462028
                  ],
                  "infer": [
                    348,
                    34975462028
                  ],
                  "native": [
                    348,
                    34975462028
                  ],
                  "result": [
                    337,
                    33875462028
                  ],
                  "publisher_submit": [
                    337,
                    33875462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 156,
                    "mean_ms": 40.41837557692308,
                    "p95_ms": 270.809388,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 156,
                    "mean_ms": 84.57391019871795,
                    "p95_ms": 468.870347,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 156,
                    "mean_ms": 41.58078429487179,
                    "p95_ms": 163.371467,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 68,
                    "mean_ms": 221.33337945588235,
                    "p95_ms": 1010.782235,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 68,
                    "mean_ms": 45.98881455882353,
                    "p95_ms": 72.995357,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 68,
                    "mean_ms": 1.0128882205882352,
                    "p95_ms": 1.34351,
                    "max_ms": 1.715308
                  },
                  "scenario": {
                    "samples": 68,
                    "mean_ms": 1.0254940735294118,
                    "p95_ms": 1.385436,
                    "max_ms": 1.732063
                  },
                  "result_work": {
                    "samples": 68,
                    "mean_ms": 228.18404466176472,
                    "p95_ms": 1054.876387,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 68,
                    "mean_ms": 938.0997023676471,
                    "p95_ms": 988.371928,
                    "max_ms": 997.070288
                  },
                  "native_to_result": {
                    "samples": 66,
                    "mean_ms": 1144.8018369848485,
                    "p95_ms": 1785.826125,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 66,
                    "mean_ms": 1.256853,
                    "p95_ms": 2.809163,
                    "max_ms": 5.952102
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 10,
              "events_created": 15,
              "processed": 223,
              "stale": 104,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 223,
            "per_task_buffers": {
              "det": 223
            },
            "latest": {
              "fn": 337,
              "det": 11,
              "persons": 8,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299781.991306342,
            "entries": 223,
            "length": 30,
            "last": "1789447061140-0",
            "pttl": 9860,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 337,
              "ptsNs": 33875462028,
              "ingestTimeWallMs": 1789447060047,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1194774473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447059939,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9502266049385071,
                  "bbox": [
                    0.661590576171875,
                    0.3349609375,
                    0.749542236328125,
                    0.7294921875
                  ],
                  "trackId": 1121,
                  "eventIds": [
                    "eefd20be-ae06-477f-82c2-4ce1e2da9eb8"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.70556640625,
                        0.7294921875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "eefd20be-ae06-477f-82c2-4ce1e2da9eb8"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8578872084617615,
                  "bbox": [
                    0.5886383056640625,
                    0.396881103515625,
                    0.6144866943359375,
                    0.513275146484375
                  ],
                  "trackId": 1281,
                  "eventIds": [
                    "cc554984-399e-40e7-b7bd-096e241d3f4d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6015625,
                        0.513275146484375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8393393158912659,
                  "bbox": [
                    0.79571533203125,
                    0.339599609375,
                    0.84588623046875,
                    0.608642578125
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.82080078125,
                        0.608642578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.804405927658081,
                  "bbox": [
                    0.616668701171875,
                    0.448699951171875,
                    0.651885986328125,
                    0.550811767578125
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63427734375,
                        0.550811767578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7937461733818054,
                  "bbox": [
                    0.3231201171875,
                    0.532135009765625,
                    0.3804931640625,
                    0.594818115234375
                  ],
                  "trackId": 1201,
                  "eventIds": [
                    "989b09b3-e6ff-4c5f-91e6-070ea862048d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.351806640625,
                        0.594818115234375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "989b09b3-e6ff-4c5f-91e6-070ea862048d"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6484663486480713,
                  "bbox": [
                    0.6527862548828125,
                    0.447235107421875,
                    0.6792449951171875,
                    0.538116455078125
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.666015625,
                        0.538116455078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6266955137252808,
                  "bbox": [
                    0.6324539184570312,
                    0.469757080078125,
                    0.6575851440429688,
                    0.554656982421875
                  ],
                  "trackId": 801,
                  "eventIds": [
                    "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64501953125,
                        0.554656982421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                    }
                  ]
                },
                {
                  "objectRef": "10",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5168545842170715,
                  "bbox": [
                    0.19828033447265625,
                    0.4322052001953125,
                    0.21382904052734375,
                    0.4584197998046875
                  ],
                  "trackId": 401,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.2060546875,
                        0.4584197998046875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299782.059125994,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447061.199577,
                "source_stage": "native_completed",
                "source_stage_at": 1789447061.2693636,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447061.2177773,
                  "preprocess_output": 1789447061.222789,
                  "infer_output": 1789447061.2493775,
                  "consume_entered": 1789447061.2528944,
                  "native_completed": 1789447061.2693636,
                  "inference_frame_completed": 1789447061.1995585
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 303,
                  "preprocess_output": 303,
                  "infer_output": 303,
                  "consume_entered": 303,
                  "native_completed": 303,
                  "inference_frame_completed": 194
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 32.4,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299782036930711,
                "counts": {
                  "decoded": 303,
                  "selected": 303,
                  "preprocess": 303,
                  "infer": 303,
                  "native": 303,
                  "result": 194,
                  "publisher_submit": 194
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299781964952081,
                  "selected": 1299781965040201,
                  "preprocess": 1299781970069409,
                  "infer": 1299781996619586,
                  "native": 1299782016732572,
                  "result": 1299781946279619,
                  "publisher_submit": 1299781946959070
                },
                "detail": true,
                "pending_samples": 81,
                "last_frame": {
                  "selected": [
                    302,
                    32172222057
                  ],
                  "preprocess": [
                    302,
                    32172222057
                  ],
                  "infer": [
                    302,
                    32172222057
                  ],
                  "native": [
                    302,
                    32172222057
                  ],
                  "result": [
                    290,
                    30972222057
                  ],
                  "publisher_submit": [
                    290,
                    30972222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 156,
                    "mean_ms": 46.35887518589743,
                    "p95_ms": 254.137759,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 156,
                    "mean_ms": 90.45271403846154,
                    "p95_ms": 446.836064,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 156,
                    "mean_ms": 41.96782089102564,
                    "p95_ms": 154.204876,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 77,
                    "mean_ms": 189.56217815584415,
                    "p95_ms": 965.596559,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 77,
                    "mean_ms": 42.151132636363634,
                    "p95_ms": 66.308696,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 77,
                    "mean_ms": 1.4690456883116885,
                    "p95_ms": 4.034603,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 77,
                    "mean_ms": 2.3964705324675326,
                    "p95_ms": 13.945183,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 77,
                    "mean_ms": 202.4681630909091,
                    "p95_ms": 1007.38861,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 77,
                    "mean_ms": 933.3825536363636,
                    "p95_ms": 992.550638,
                    "max_ms": 997.172642
                  },
                  "native_to_result": {
                    "samples": 75,
                    "mean_ms": 1126.1822377333333,
                    "p95_ms": 1798.153188,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 75,
                    "mean_ms": 1.2672211733333334,
                    "p95_ms": 3.547173,
                    "max_ms": 12.60064
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 10,
              "events_created": 12,
              "processed": 194,
              "stale": 91,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 194,
            "per_task_buffers": {
              "det": 194
            },
            "latest": {
              "fn": 290,
              "det": 9,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299782.05920502,
            "entries": 194,
            "length": 30,
            "last": "1789447061208-0",
            "pttl": 9986,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 290,
              "ptsNs": 30972222057,
              "ingestTimeWallMs": 1789447060061,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3322699188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470703547,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9343951344490051,
                  "bbox": [
                    0.5005950927734375,
                    0.3438720703125,
                    0.5628814697265625,
                    0.6263427734375
                  ],
                  "trackId": 561,
                  "eventIds": [
                    "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.53173828125,
                        0.6263427734375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9274948239326477,
                  "bbox": [
                    0.7198486328125,
                    0.3480224609375,
                    0.7742919921875,
                    0.5992431640625
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "7a69619e-e542-4842-b324-5d7dff328b53"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.7470703125,
                        0.5992431640625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a69619e-e542-4842-b324-5d7dff328b53"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8844391107559204,
                  "bbox": [
                    0.9527740478515625,
                    0.3046875,
                    0.9993743896484375,
                    0.82421875
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.97607421875,
                        0.82421875
                      ],
                      "inside": false,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8397339582443237,
                  "bbox": [
                    0.4751434326171875,
                    0.393310546875,
                    0.4965362548828125,
                    0.523193359375
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.48583984375,
                        0.523193359375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8034823536872864,
                  "bbox": [
                    0.615509033203125,
                    0.44488525390625,
                    0.653045654296875,
                    0.54925537109375
                  ],
                  "trackId": 1121,
                  "eventIds": [
                    "8f817ba3-ae7c-4c77-9e92-1e1addea0a28"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63427734375,
                        0.54925537109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "8f817ba3-ae7c-4c77-9e92-1e1addea0a28"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.730289876461029,
                  "bbox": [
                    0.65203857421875,
                    0.44287109375,
                    0.68682861328125,
                    0.53466796875
                  ],
                  "trackId": 1201,
                  "eventIds": [
                    "393b790b-92bc-4855-b253-61b294c9be3d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66943359375,
                        0.53466796875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "393b790b-92bc-4855-b253-61b294c9be3d"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5829066038131714,
                  "bbox": [
                    0.6325759887695312,
                    0.465789794921875,
                    0.6574630737304688,
                    0.554718017578125
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64501953125,
                        0.554718017578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 490,
          "sent_status": 75,
          "sent_frames": 415,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299783.103041683,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299783.182277428,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447062.3473232,
                "source_stage": "preprocess_output",
                "source_stage_at": 1789447062.3494785,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447062.3466334,
                  "preprocess_output": 1789447062.3494785,
                  "infer_output": 1789447062.292518,
                  "consume_entered": 1789447062.295189,
                  "native_completed": 1789447062.3230984,
                  "inference_frame_completed": 1789447062.3473098
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 361,
                  "preprocess_output": 361,
                  "infer_output": 360,
                  "consume_entered": 360,
                  "native_completed": 360,
                  "inference_frame_completed": 232
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 37.7,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299783125606652,
                "counts": {
                  "decoded": 361,
                  "selected": 361,
                  "preprocess": 361,
                  "infer": 360,
                  "native": 360,
                  "result": 232,
                  "publisher_submit": 232
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299783093927556,
                  "selected": 1299783093939844,
                  "preprocess": 1299783096822962,
                  "infer": 1299783039768515,
                  "native": 1299783070446427,
                  "result": 1299783092615711,
                  "publisher_submit": 1299783094706072
                },
                "detail": true,
                "pending_samples": 93,
                "last_frame": {
                  "selected": [
                    360,
                    36175462028
                  ],
                  "preprocess": [
                    360,
                    36175462028
                  ],
                  "infer": [
                    359,
                    36075462028
                  ],
                  "native": [
                    359,
                    36075462028
                  ],
                  "result": [
                    348,
                    34975462028
                  ],
                  "publisher_submit": [
                    348,
                    34975462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 168,
                    "mean_ms": 37.79391603571428,
                    "p95_ms": 249.973826,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 167,
                    "mean_ms": 80.44748691616766,
                    "p95_ms": 464.60197,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 167,
                    "mean_ms": 40.42623743113773,
                    "p95_ms": 159.138314,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 77,
                    "mean_ms": 210.08930796103894,
                    "p95_ms": 1010.782235,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 77,
                    "mean_ms": 45.140647961038965,
                    "p95_ms": 72.995357,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 77,
                    "mean_ms": 0.998453974025974,
                    "p95_ms": 1.34351,
                    "max_ms": 1.715308
                  },
                  "scenario": {
                    "samples": 77,
                    "mean_ms": 1.0110981168831168,
                    "p95_ms": 1.385436,
                    "max_ms": 1.732063
                  },
                  "result_work": {
                    "samples": 77,
                    "mean_ms": 217.1829271038961,
                    "p95_ms": 1054.876387,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 77,
                    "mean_ms": 940.1115504285715,
                    "p95_ms": 994.292594,
                    "max_ms": 998.555808
                  },
                  "native_to_result": {
                    "samples": 75,
                    "mean_ms": 1137.6661217333333,
                    "p95_ms": 1785.826125,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 75,
                    "mean_ms": 1.66743244,
                    "p95_ms": 5.952102,
                    "max_ms": 16.715345
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 9,
              "events_created": 15,
              "processed": 232,
              "stale": 107,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 232,
            "per_task_buffers": {
              "det": 232
            },
            "latest": {
              "fn": 348,
              "det": 9,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299783.182328848,
            "entries": 232,
            "length": 30,
            "last": "1789447062349-0",
            "pttl": 9880,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 348,
              "ptsNs": 34975462028,
              "ingestTimeWallMs": 1789447061143,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1194873473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447061039,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9053223133087158,
                  "bbox": [
                    0.639190673828125,
                    0.4886474609375,
                    0.700653076171875,
                    0.6929931640625
                  ],
                  "trackId": 1121,
                  "eventIds": [
                    "eefd20be-ae06-477f-82c2-4ce1e2da9eb8"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.6929931640625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "eefd20be-ae06-477f-82c2-4ce1e2da9eb8"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8598991632461548,
                  "bbox": [
                    0.7945098876953125,
                    0.3389892578125,
                    0.8480682373046875,
                    0.6087646484375
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8212890625,
                        0.6087646484375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8543993234634399,
                  "bbox": [
                    0.5862045288085938,
                    0.394683837890625,
                    0.6110610961914062,
                    0.514495849609375
                  ],
                  "trackId": 1281,
                  "eventIds": [
                    "cc554984-399e-40e7-b7bd-096e241d3f4d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.5986328125,
                        0.514495849609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8494724035263062,
                  "bbox": [
                    0.324859619140625,
                    0.53021240234375,
                    0.383636474609375,
                    0.59576416015625
                  ],
                  "trackId": 1201,
                  "eventIds": [
                    "989b09b3-e6ff-4c5f-91e6-070ea862048d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.354248046875,
                        0.59576416015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "989b09b3-e6ff-4c5f-91e6-070ea862048d"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8193157911300659,
                  "bbox": [
                    0.61724853515625,
                    0.447509765625,
                    0.65228271484375,
                    0.550537109375
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.634765625,
                        0.550537109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7191864252090454,
                  "bbox": [
                    0.6355056762695312,
                    0.46124267578125,
                    0.6652755737304688,
                    0.60223388671875
                  ],
                  "trackId": 801,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.650390625,
                        0.60223388671875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5811248421669006,
                  "bbox": [
                    0.655059814453125,
                    0.4387664794921875,
                    0.678924560546875,
                    0.4997100830078125
                  ],
                  "trackId": 881,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6669921875,
                        0.4997100830078125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299783.268372385,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447062.4814436,
                "source_stage": "inference_frame_completed",
                "source_stage_at": 1789447062.481428,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447062.4201114,
                  "preprocess_output": 1789447062.422332,
                  "infer_output": 1789447062.4399965,
                  "consume_entered": 1789447062.442406,
                  "native_completed": 1789447062.4584892,
                  "inference_frame_completed": 1789447062.481428
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 315,
                  "preprocess_output": 315,
                  "infer_output": 315,
                  "consume_entered": 315,
                  "native_completed": 315,
                  "inference_frame_completed": 204
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 33.7,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299783254968488,
                "counts": {
                  "decoded": 315,
                  "selected": 315,
                  "preprocess": 315,
                  "infer": 315,
                  "native": 315,
                  "result": 204,
                  "publisher_submit": 204
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299783167422851,
                  "selected": 1299783167463437,
                  "preprocess": 1299783169677062,
                  "infer": 1299783187293327,
                  "native": 1299783205794399,
                  "result": 1299783228017542,
                  "publisher_submit": 1299783228822286
                },
                "detail": true,
                "pending_samples": 83,
                "last_frame": {
                  "selected": [
                    314,
                    33372222057
                  ],
                  "preprocess": [
                    314,
                    33372222057
                  ],
                  "infer": [
                    314,
                    33372222057
                  ],
                  "native": [
                    314,
                    33372222057
                  ],
                  "result": [
                    303,
                    32272222057
                  ],
                  "publisher_submit": [
                    303,
                    32272222057
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 168,
                    "mean_ms": 43.215336541666666,
                    "p95_ms": 231.567435,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 168,
                    "mean_ms": 85.66877115476191,
                    "p95_ms": 413.809155,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 168,
                    "mean_ms": 40.65161701190476,
                    "p95_ms": 143.817112,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 87,
                    "mean_ms": 181.57895221839078,
                    "p95_ms": 816.302073,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 87,
                    "mean_ms": 41.61591329885057,
                    "p95_ms": 64.463605,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 87,
                    "mean_ms": 1.4348055632183907,
                    "p95_ms": 2.460198,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 87,
                    "mean_ms": 2.257231735632184,
                    "p95_ms": 2.494446,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 87,
                    "mean_ms": 193.87874264367815,
                    "p95_ms": 823.417501,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 87,
                    "mean_ms": 934.2969497586207,
                    "p95_ms": 992.550638,
                    "max_ms": 997.172642
                  },
                  "native_to_result": {
                    "samples": 85,
                    "mean_ms": 1119.887452964706,
                    "p95_ms": 1691.062074,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 85,
                    "mean_ms": 1.280065294117647,
                    "p95_ms": 3.547173,
                    "max_ms": 12.60064
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 9,
              "events_created": 12,
              "processed": 204,
              "stale": 94,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 204,
            "per_task_buffers": {
              "det": 204
            },
            "latest": {
              "fn": 303,
              "det": 8,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299783.26843463,
            "entries": 204,
            "length": 30,
            "last": "1789447062490-0",
            "pttl": 9935,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 303,
              "ptsNs": 32272222057,
              "ingestTimeWallMs": 1789447061316,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3322816188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470704847,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9186263084411621,
                  "bbox": [
                    0.4485931396484375,
                    0.33935546875,
                    0.4947662353515625,
                    0.6025390625
                  ],
                  "trackId": 561,
                  "eventIds": [
                    "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.4716796875,
                        0.6025390625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8519527316093445,
                  "bbox": [
                    0.7629241943359375,
                    0.3427734375,
                    0.8230133056640625,
                    0.6025390625
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "7a69619e-e542-4842-b324-5d7dff328b53"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.79296875,
                        0.6025390625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a69619e-e542-4842-b324-5d7dff328b53"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8463238477706909,
                  "bbox": [
                    0.5247039794921875,
                    0.395111083984375,
                    0.5504913330078125,
                    0.517486572265625
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.53759765625,
                        0.517486572265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8203255534172058,
                  "bbox": [
                    0.615753173828125,
                    0.446990966796875,
                    0.653778076171875,
                    0.551055908203125
                  ],
                  "trackId": 1121,
                  "eventIds": [
                    "8f817ba3-ae7c-4c77-9e92-1e1addea0a28"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.634765625,
                        0.551055908203125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "8f817ba3-ae7c-4c77-9e92-1e1addea0a28"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7455836534500122,
                  "bbox": [
                    0.6514129638671875,
                    0.442413330078125,
                    0.6874542236328125,
                    0.534149169921875
                  ],
                  "trackId": 1201,
                  "eventIds": [
                    "393b790b-92bc-4855-b253-61b294c9be3d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66943359375,
                        0.534149169921875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "393b790b-92bc-4855-b253-61b294c9be3d"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5507583618164062,
                  "bbox": [
                    0.6343841552734375,
                    0.46600341796875,
                    0.6615142822265625,
                    0.55548095703125
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64794921875,
                        0.55548095703125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 517,
          "sent_status": 82,
          "sent_frames": 435,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299784.305451425,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299784.380890383,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447063.4882526,
                "source_stage": "native_completed",
                "source_stage_at": 1789447063.593408,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447063.5497947,
                  "preprocess_output": 1789447063.551959,
                  "infer_output": 1789447063.5740354,
                  "consume_entered": 1789447063.577284,
                  "native_completed": 1789447063.593408,
                  "inference_frame_completed": 1789447063.4882252
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 373,
                  "preprocess_output": 373,
                  "infer_output": 373,
                  "consume_entered": 373,
                  "native_completed": 373,
                  "inference_frame_completed": 241
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 38.9,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299784352065596,
                "counts": {
                  "decoded": 373,
                  "selected": 373,
                  "preprocess": 373,
                  "infer": 373,
                  "native": 373,
                  "result": 241,
                  "publisher_submit": 241
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299784297085684,
                  "selected": 1299784297119820,
                  "preprocess": 1299784299267630,
                  "infer": 1299784321386749,
                  "native": 1299784340729993,
                  "result": 1299784234817858,
                  "publisher_submit": 1299784235614737
                },
                "detail": true,
                "pending_samples": 96,
                "last_frame": {
                  "selected": [
                    372,
                    37375462028
                  ],
                  "preprocess": [
                    372,
                    37375462028
                  ],
                  "infer": [
                    372,
                    37375462028
                  ],
                  "native": [
                    372,
                    37375462028
                  ],
                  "result": [
                    360,
                    36175462028
                  ],
                  "publisher_submit": [
                    360,
                    36175462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 180,
                    "mean_ms": 35.60380866111111,
                    "p95_ms": 229.934369,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 180,
                    "mean_ms": 76.94707337222222,
                    "p95_ms": 463.324125,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 180,
                    "mean_ms": 39.21618520555556,
                    "p95_ms": 156.435073,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 86,
                    "mean_ms": 200.17591493023255,
                    "p95_ms": 805.599418,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 86,
                    "mean_ms": 44.40987640697674,
                    "p95_ms": 65.366871,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 86,
                    "mean_ms": 1.010106988372093,
                    "p95_ms": 1.34351,
                    "max_ms": 2.077391
                  },
                  "scenario": {
                    "samples": 86,
                    "mean_ms": 1.0231448372093024,
                    "p95_ms": 1.385436,
                    "max_ms": 2.129853
                  },
                  "result_work": {
                    "samples": 86,
                    "mean_ms": 207.67876520930233,
                    "p95_ms": 819.621361,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 86,
                    "mean_ms": 938.4953208372093,
                    "p95_ms": 993.179615,
                    "max_ms": 998.555808
                  },
                  "native_to_result": {
                    "samples": 84,
                    "mean_ms": 1127.470406392857,
                    "p95_ms": 1703.725377,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 84,
                    "mean_ms": 2.016452619047619,
                    "p95_ms": 5.952102,
                    "max_ms": 35.011731
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 11,
              "events_created": 15,
              "processed": 241,
              "stale": 109,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 241,
            "per_task_buffers": {
              "det": 241
            },
            "latest": {
              "fn": 360,
              "det": 10,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299784.380941327,
            "entries": 241,
            "length": 30,
            "last": "1789447063490-0",
            "pttl": 9987,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 361,
              "ptsNs": 36275462028,
              "ingestTimeWallMs": 1789447062448,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1194990473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447062339,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8860265612602234,
                  "bbox": [
                    0.572845458984375,
                    0.394622802734375,
                    0.599029541015625,
                    0.517486572265625
                  ],
                  "trackId": 1281,
                  "eventIds": [
                    "cc554984-399e-40e7-b7bd-096e241d3f4d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.5859375,
                        0.517486572265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8541562557220459,
                  "bbox": [
                    0.794097900390625,
                    0.33837890625,
                    0.848480224609375,
                    0.6083984375
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8212890625,
                        0.6083984375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8276889324188232,
                  "bbox": [
                    0.6160125732421875,
                    0.44598388671875,
                    0.6544952392578125,
                    0.55059814453125
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.55059814453125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8116759657859802,
                  "bbox": [
                    0.3241119384765625,
                    0.532470703125,
                    0.3819427490234375,
                    0.595458984375
                  ],
                  "trackId": 1201,
                  "eventIds": [
                    "989b09b3-e6ff-4c5f-91e6-070ea862048d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.35302734375,
                        0.595458984375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "989b09b3-e6ff-4c5f-91e6-070ea862048d"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7531036734580994,
                  "bbox": [
                    0.635040283203125,
                    0.58441162109375,
                    0.711639404296875,
                    0.70074462890625
                  ],
                  "trackId": 1121,
                  "eventIds": [
                    "eefd20be-ae06-477f-82c2-4ce1e2da9eb8"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.67333984375,
                        0.70074462890625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "eefd20be-ae06-477f-82c2-4ce1e2da9eb8"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7452130317687988,
                  "bbox": [
                    0.653656005859375,
                    0.43975830078125,
                    0.686187744140625,
                    0.53582763671875
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.53582763671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.589716374874115,
                  "bbox": [
                    0.6334075927734375,
                    0.4671630859375,
                    0.6663970947265625,
                    0.5552978515625
                  ],
                  "trackId": 801,
                  "eventIds": [
                    "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64990234375,
                        0.5552978515625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299784.477088392,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447063.5448217,
                "source_stage": "native_completed",
                "source_stage_at": 1789447063.673265,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447063.6181762,
                  "preprocess_output": 1789447063.6266298,
                  "infer_output": 1789447063.6567962,
                  "consume_entered": 1789447063.6586618,
                  "native_completed": 1789447063.673265,
                  "inference_frame_completed": 1789447063.5448036
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 327,
                  "preprocess_output": 327,
                  "infer_output": 327,
                  "consume_entered": 327,
                  "native_completed": 327,
                  "inference_frame_completed": 212
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 34.9,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299784445485442,
                "counts": {
                  "decoded": 327,
                  "selected": 327,
                  "preprocess": 327,
                  "infer": 327,
                  "native": 326,
                  "result": 212,
                  "publisher_submit": 212
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299784365499888,
                  "selected": 1299784365532395,
                  "preprocess": 1299784373917287,
                  "infer": 1299784404103525,
                  "native": 1299784420524588,
                  "result": 1299784291521713,
                  "publisher_submit": 1299784292199520
                },
                "detail": true,
                "pending_samples": 87,
                "last_frame": {
                  "selected": [
                    326,
                    34572222057
                  ],
                  "preprocess": [
                    326,
                    34572222057
                  ],
                  "infer": [
                    326,
                    34572222057
                  ],
                  "native": [
                    326,
                    34572222057
                  ],
                  "result": [
                    313,
                    33272222057
                  ],
                  "publisher_submit": [
                    313,
                    33272222057
                  ]
                },
                "observation_missed": 1,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 180,
                    "mean_ms": 40.65043379444444,
                    "p95_ms": 220.95903,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 180,
                    "mean_ms": 81.9852447388889,
                    "p95_ms": 413.132372,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 179,
                    "mean_ms": 39.64193374860335,
                    "p95_ms": 143.817112,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 95,
                    "mean_ms": 176.61684356842107,
                    "p95_ms": 816.302073,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 95,
                    "mean_ms": 41.36236538947369,
                    "p95_ms": 64.463605,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 95,
                    "mean_ms": 1.4015406842105262,
                    "p95_ms": 2.460198,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 95,
                    "mean_ms": 2.1557966210526316,
                    "p95_ms": 2.494446,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 95,
                    "mean_ms": 188.68502062105262,
                    "p95_ms": 823.417501,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 95,
                    "mean_ms": 935.9528506526315,
                    "p95_ms": 992.89482,
                    "max_ms": 998.657729
                  },
                  "native_to_result": {
                    "samples": 93,
                    "mean_ms": 1116.6756187634408,
                    "p95_ms": 1691.062074,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 93,
                    "mean_ms": 1.3284731397849463,
                    "p95_ms": 4.229715,
                    "max_ms": 12.60064
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 11,
              "events_created": 12,
              "processed": 212,
              "stale": 96,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 212,
            "per_task_buffers": {
              "det": 212
            },
            "latest": {
              "fn": 313,
              "det": 9,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299784.477124101,
            "entries": 212,
            "length": 30,
            "last": "1789447063547-0",
            "pttl": 9792,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 313,
              "ptsNs": 33272222057,
              "ingestTimeWallMs": 1789447062353,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3322906188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470705847,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.903464674949646,
                  "bbox": [
                    0.407806396484375,
                    0.3424072265625,
                    0.452056884765625,
                    0.5819091796875
                  ],
                  "trackId": 561,
                  "eventIds": [
                    "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.429931640625,
                        0.5819091796875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8877896666526794,
                  "bbox": [
                    0.7938079833984375,
                    0.34033203125,
                    0.8438873291015625,
                    0.60791015625
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "7a69619e-e542-4842-b324-5d7dff328b53"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.81884765625,
                        0.60791015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a69619e-e542-4842-b324-5d7dff328b53"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8862236142158508,
                  "bbox": [
                    0.955780029296875,
                    0.291259765625,
                    1.0,
                    0.864013671875
                  ],
                  "trackId": 1361,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.9778900146484375,
                        0.864013671875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8731066584587097,
                  "bbox": [
                    0.560943603515625,
                    0.3961181640625,
                    0.583587646484375,
                    0.5150146484375
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.572265625,
                        0.5150146484375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8187368512153625,
                  "bbox": [
                    0.6162567138671875,
                    0.445281982421875,
                    0.6532745361328125,
                    0.549835205078125
                  ],
                  "trackId": 1121,
                  "eventIds": [
                    "8f817ba3-ae7c-4c77-9e92-1e1addea0a28"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.634765625,
                        0.549835205078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "8f817ba3-ae7c-4c77-9e92-1e1addea0a28"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7305783033370972,
                  "bbox": [
                    0.6532135009765625,
                    0.442840576171875,
                    0.6866302490234375,
                    0.533721923828125
                  ],
                  "trackId": 1201,
                  "eventIds": [
                    "393b790b-92bc-4855-b253-61b294c9be3d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.533721923828125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "393b790b-92bc-4855-b253-61b294c9be3d"
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6359010338783264,
                  "bbox": [
                    0.635040283203125,
                    0.46435546875,
                    0.666717529296875,
                    0.55517578125
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.65087890625,
                        0.55517578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 541,
          "sent_status": 88,
          "sent_frames": 453,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1299784.936795093,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1299785.03924115,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "182650d3-8636-43e4-8fad-bf1104f7ad57",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447064.1029189,
                "source_stage": "preprocess_output",
                "source_stage_at": 1789447064.260099,
                "source_stages": {
                  "pipeline_state_changed": 1789447027.6071663,
                  "decoded_frame_received": 1789447064.2508183,
                  "preprocess_output": 1789447064.260099,
                  "infer_output": 1789447064.180083,
                  "consume_entered": 1789447064.1923444,
                  "native_completed": 1789447064.212414,
                  "inference_frame_completed": 1789447064.102891
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 380,
                  "preprocess_output": 380,
                  "infer_output": 379,
                  "consume_entered": 379,
                  "native_completed": 379,
                  "inference_frame_completed": 245
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447026.066911,
                  "decoded_frame_received": 1789447027.5035384,
                  "preprocess_output": 1789447027.5479457,
                  "infer_output": 1789447027.5900366,
                  "consume_entered": 1789447027.597702,
                  "native_completed": 1789447027.618101,
                  "inference_frame_completed": 1789447027.7785475
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447024.6659348,
            "uptime_s": 39.6,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299785013246165,
                "counts": {
                  "decoded": 380,
                  "selected": 380,
                  "preprocess": 380,
                  "infer": 379,
                  "native": 379,
                  "result": 245,
                  "publisher_submit": 245
                },
                "first_ns": {
                  "decoded": 1299748250836539,
                  "selected": 1299748250866417,
                  "preprocess": 1299748295238578,
                  "infer": 1299748337302895,
                  "native": 1299748365434192,
                  "result": 1299748525088665,
                  "publisher_submit": 1299748525941499
                },
                "last_ns": {
                  "decoded": 1299784998130499,
                  "selected": 1299784998148434,
                  "preprocess": 1299785007401717,
                  "infer": 1299784927397006,
                  "native": 1299784959737204,
                  "result": 1299784847367443,
                  "publisher_submit": 1299784850268237
                },
                "detail": true,
                "pending_samples": 99,
                "last_frame": {
                  "selected": [
                    379,
                    38075462028
                  ],
                  "preprocess": [
                    379,
                    38075462028
                  ],
                  "infer": [
                    378,
                    37975462028
                  ],
                  "native": [
                    378,
                    37975462028
                  ],
                  "result": [
                    366,
                    36775462028
                  ],
                  "publisher_submit": [
                    366,
                    36775462028
                  ]
                },
                "observation_missed": 0,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 187,
                    "mean_ms": 34.48883844385026,
                    "p95_ms": 229.934369,
                    "max_ms": 350.826343
                  },
                  "preprocess_to_infer": {
                    "samples": 186,
                    "mean_ms": 75.49199151612903,
                    "p95_ms": 463.324125,
                    "max_ms": 591.892708
                  },
                  "infer_to_native": {
                    "samples": 186,
                    "mean_ms": 38.91700260215054,
                    "p95_ms": 156.435073,
                    "max_ms": 290.85705
                  },
                  "tracking": {
                    "samples": 90,
                    "mean_ms": 197.80106766666665,
                    "p95_ms": 805.599418,
                    "max_ms": 1768.907815
                  },
                  "tracking_cpu": {
                    "samples": 90,
                    "mean_ms": 44.23941911111111,
                    "p95_ms": 65.366871,
                    "max_ms": 187.28452
                  },
                  "scenario_cpu": {
                    "samples": 90,
                    "mean_ms": 1.0108239555555556,
                    "p95_ms": 1.34351,
                    "max_ms": 2.077391
                  },
                  "scenario": {
                    "samples": 90,
                    "mean_ms": 1.0238425777777778,
                    "p95_ms": 1.385436,
                    "max_ms": 2.129853
                  },
                  "result_work": {
                    "samples": 90,
                    "mean_ms": 205.25676814444444,
                    "p95_ms": 819.621361,
                    "max_ms": 1779.146769
                  },
                  "queue": {
                    "samples": 90,
                    "mean_ms": 939.3006076555556,
                    "p95_ms": 993.179615,
                    "max_ms": 998.555808
                  },
                  "native_to_result": {
                    "samples": 88,
                    "mean_ms": 1127.0372470681818,
                    "p95_ms": 1703.725377,
                    "max_ms": 2407.731992
                  },
                  "result_to_publisher_submit": {
                    "samples": 88,
                    "mean_ms": 2.0269015909090906,
                    "p95_ms": 5.952102,
                    "max_ms": 35.011731
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "wall_ms": 1657.249379,
                    "thread_cpu_ms": 171.076286,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 83,
                        "before": [
                          9,
                          0,
                          0
                        ],
                        "after": [
                          8,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 7,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 61,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          3,
                          1,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 52,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 12,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 11,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 667,
                        "self_cpu_ms": 88508.84165300001,
                        "cumulative_cpu_ms": 54194.90463800001
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 64,
                        "self_cpu_ms": 47593.549865,
                        "cumulative_cpu_ms": 49852.676832
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 22,
                        "self_cpu_ms": 29616.995432000003,
                        "cumulative_cpu_ms": 0.054900000000000004
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 279,
                        "self_cpu_ms": 28908.898254,
                        "cumulative_cpu_ms": 29340.847309
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 24,
                        "self_cpu_ms": 13669.070213,
                        "cumulative_cpu_ms": 13669.555242000002
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 11,
                        "self_cpu_ms": 13508.426349000001,
                        "cumulative_cpu_ms": 5806.771675
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 806,
                        "self_cpu_ms": 10652.410417000001,
                        "cumulative_cpu_ms": 10652.389516000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 130,
                        "self_cpu_ms": 7819.832342000001,
                        "cumulative_cpu_ms": 0.0
                      },
                      {
                        "function": "core.py:349:joint_tracks",
                        "calls": 396,
                        "self_cpu_ms": 7704.8840900000005,
                        "cumulative_cpu_ms": 6609.455023
                      },
                      {
                        "function": "byte_tracking.py:10:_prepare_observations",
                        "calls": 3,
                        "self_cpu_ms": 6768.359612,
                        "cumulative_cpu_ms": 6766.727346000001
                      },
                      {
                        "function": "<string>:2:__init__",
                        "calls": 3718,
                        "self_cpu_ms": 6050.976586,
                        "cumulative_cpu_ms": -2057.275536
                      },
                      {
                        "function": "core.py:395:remove_duplicate_tracks",
                        "calls": 132,
                        "self_cpu_ms": 5923.483249,
                        "cumulative_cpu_ms": 11614.644114
                      },
                      {
                        "function": "intrusion.py:29:_inside_edges",
                        "calls": 72,
                        "self_cpu_ms": 4955.380261,
                        "cumulative_cpu_ms": 6969.967698
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 64,
                        "self_cpu_ms": 4847.193832,
                        "cumulative_cpu_ms": 4849.520544000001
                      },
                      {
                        "function": "<function socket.close at 0x7485741de0c0>",
                        "calls": 2,
                        "self_cpu_ms": 4793.810570000001,
                        "cumulative_cpu_ms": 4796.225880000001
                      },
                      {
                        "function": "<method '__enter__' of '_thread.RLock' objects>",
                        "calls": 41,
                        "self_cpu_ms": 4725.00782,
                        "cumulative_cpu_ms": 4695.749325000001
                      },
                      {
                        "function": "_decomp_cholesky.py:15:_cholesky",
                        "calls": 32,
                        "self_cpu_ms": 4577.875973,
                        "cumulative_cpu_ms": 5.170706000000001
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 364,
                        "self_cpu_ms": 3710.1810540000006,
                        "cumulative_cpu_ms": 3712.004331
                      },
                      {
                        "function": "routing.py:864:_restore_fastapi_scope_key",
                        "calls": 80,
                        "self_cpu_ms": 3673.0813500000004,
                        "cumulative_cpu_ms": 3673.6962510000003
                      },
                      {
                        "function": "det_result_path.py:63:submit",
                        "calls": 7,
                        "self_cpu_ms": 3035.378289,
                        "cumulative_cpu_ms": 0.0
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1137.703673,
                    "thread_cpu_ms": 151.005512,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 80,
                        "before": [
                          8,
                          1,
                          0
                        ],
                        "after": [
                          7,
                          3,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 48,
                        "before": [
                          3,
                          1,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 32,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 20,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 14,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 4,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 501,
                        "self_cpu_ms": 71368.922472,
                        "cumulative_cpu_ms": 19283.201855000003
                      },
                      {
                        "function": "matching.py:11:indices_to_matches",
                        "calls": 21,
                        "self_cpu_ms": 16955.327639,
                        "cumulative_cpu_ms": 16955.858977000004
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 20,
                        "self_cpu_ms": 13577.490599,
                        "cumulative_cpu_ms": 21157.052046
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 10,
                        "self_cpu_ms": 10906.370599,
                        "cumulative_cpu_ms": 14225.645448000001
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 249,
                        "self_cpu_ms": 10622.8978,
                        "cumulative_cpu_ms": 16946.366502
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 647,
                        "self_cpu_ms": 10173.743276000001,
                        "cumulative_cpu_ms": 6946.3966310000005
                      },
                      {
                        "function": "typing.py:175:_type_check",
                        "calls": 1038,
                        "self_cpu_ms": 8379.551637,
                        "cumulative_cpu_ms": 8393.171145
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 12770,
                        "self_cpu_ms": 7702.459595,
                        "cumulative_cpu_ms": 8015.6669360000005
                      },
                      {
                        "function": "kalman_filter.py:158:update",
                        "calls": 17,
                        "self_cpu_ms": 6976.846198,
                        "cumulative_cpu_ms": 13137.288445000002
                      },
                      {
                        "function": "visualization.py:20:__post_init__",
                        "calls": 232,
                        "self_cpu_ms": 6966.514339,
                        "cumulative_cpu_ms": 6625.067988000001
                      },
                      {
                        "function": "intrusion.py:12:_on",
                        "calls": 240,
                        "self_cpu_ms": 5205.596953,
                        "cumulative_cpu_ms": 5206.761776
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 697,
                        "self_cpu_ms": 4439.305799000001,
                        "cumulative_cpu_ms": 4440.9960360000005
                      },
                      {
                        "function": "kalman_filter.py:94:project",
                        "calls": 17,
                        "self_cpu_ms": 4322.741470000001,
                        "cumulative_cpu_ms": 6737.430594
                      },
                      {
                        "function": "shape_base.py:612:column_stack",
                        "calls": 20,
                        "self_cpu_ms": 3982.552252,
                        "cumulative_cpu_ms": 3982.832224
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 34,
                        "self_cpu_ms": 3866.5546190000005,
                        "cumulative_cpu_ms": 3866.794001
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2460,
                        "self_cpu_ms": 3233.279865,
                        "cumulative_cpu_ms": -2438.638205
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2617.196876,
                        "cumulative_cpu_ms": 2619.338697
                      },
                      {
                        "function": "core.py:2651:select",
                        "calls": 18,
                        "self_cpu_ms": 2609.8495540000004,
                        "cumulative_cpu_ms": 6247.294715000001
                      },
                      {
                        "function": "core.py:184:update_with_tensors",
                        "calls": 127,
                        "self_cpu_ms": 2572.281771,
                        "cumulative_cpu_ms": 370.49977900000005
                      },
                      {
                        "function": "dataclasses.py:1294:is_dataclass",
                        "calls": 697,
                        "self_cpu_ms": 2487.76022,
                        "cumulative_cpu_ms": 2494.0987630000004
                      }
                    ],
                    "instrumented": true
                  },
                  {
                    "wall_ms": 1347.742829,
                    "thread_cpu_ms": 161.202813,
                    "classes": [
                      {
                        "class_id": 0,
                        "candidates": 78,
                        "before": [
                          7,
                          3,
                          0
                        ],
                        "after": [
                          8,
                          2,
                          0
                        ]
                      },
                      {
                        "class_id": 1,
                        "candidates": 11,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 2,
                        "candidates": 49,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          1
                        ]
                      },
                      {
                        "class_id": 3,
                        "candidates": 13,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 4,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 5,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 6,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 7,
                        "candidates": 37,
                        "before": [
                          2,
                          2,
                          0
                        ],
                        "after": [
                          2,
                          2,
                          2
                        ]
                      },
                      {
                        "class_id": 8,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 9,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 10,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 11,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 12,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 13,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 14,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 15,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 16,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 17,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 18,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 19,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 20,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 21,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 22,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 23,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 24,
                        "candidates": 16,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 25,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 26,
                        "candidates": 10,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 27,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 28,
                        "candidates": 8,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 29,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 30,
                        "candidates": 5,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 31,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 32,
                        "candidates": 4,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 33,
                        "candidates": 3,
                        "before": [
                          1,
                          0,
                          0
                        ],
                        "after": [
                          1,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 34,
                        "candidates": 9,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 35,
                        "candidates": 6,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 36,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 37,
                        "candidates": 2,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 38,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 39,
                        "candidates": 3,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 41,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 43,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 44,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 45,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 47,
                        "candidates": 1,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 51,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 52,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 56,
                        "candidates": 7,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 57,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 58,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 60,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 61,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 62,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 63,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 65,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 67,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 68,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 69,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 70,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 72,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 73,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 74,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 76,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      },
                      {
                        "class_id": 77,
                        "candidates": 0,
                        "before": [
                          0,
                          0,
                          0
                        ],
                        "after": [
                          0,
                          0,
                          0
                        ]
                      }
                    ],
                    "functions": [
                      {
                        "function": "<built-in method numpy.asarray>",
                        "calls": 598,
                        "self_cpu_ms": 81736.614809,
                        "cumulative_cpu_ms": 19589.306961000002
                      },
                      {
                        "function": "<method 'copy' of 'numpy.ndarray' objects>",
                        "calls": 764,
                        "self_cpu_ms": 33462.146702000005,
                        "cumulative_cpu_ms": 33449.937491
                      },
                      {
                        "function": "<built-in method scipy.optimize._lsap.linear_sum_assignment>",
                        "calls": 24,
                        "self_cpu_ms": 21244.718733,
                        "cumulative_cpu_ms": 17676.216490000003
                      },
                      {
                        "function": "<built-in method numpy.array>",
                        "calls": 268,
                        "self_cpu_ms": 16732.972243000004,
                        "cumulative_cpu_ms": 10528.293251000001
                      },
                      {
                        "function": "kalman_filter.py:121:multi_predict",
                        "calls": 12,
                        "self_cpu_ms": 15686.636282,
                        "cumulative_cpu_ms": 14946.624849000002
                      },
                      {
                        "function": "native_metadata.py:163:<genexpr>",
                        "calls": 14430,
                        "self_cpu_ms": 14481.696019,
                        "cumulative_cpu_ms": 4694.618489
                      },
                      {
                        "function": "matching.py:42:iou_distance",
                        "calls": 522,
                        "self_cpu_ms": 10763.310156000001,
                        "cumulative_cpu_ms": 15353.733859
                      },
                      {
                        "function": "linalg.py:2764:_multi_dot_three",
                        "calls": 52,
                        "self_cpu_ms": 9254.859674000001,
                        "cumulative_cpu_ms": 14286.214232
                      },
                      {
                        "function": "<method 'poll' of 'select.epoll' objects>",
                        "calls": 22,
                        "self_cpu_ms": 8041.1299340000005,
                        "cumulative_cpu_ms": 8049.538937000001
                      },
                      {
                        "function": "frames.py:83:<genexpr>",
                        "calls": 12000,
                        "self_cpu_ms": 6851.624195,
                        "cumulative_cpu_ms": 4104.185094
                      },
                      {
                        "function": "iou_and_nms.py:188:box_iou_batch",
                        "calls": 31,
                        "self_cpu_ms": 6151.901374,
                        "cumulative_cpu_ms": 8235.774433
                      },
                      {
                        "function": "frames.py:58:__post_init__",
                        "calls": 2399,
                        "self_cpu_ms": 6041.686082,
                        "cumulative_cpu_ms": -4462.994214
                      },
                      {
                        "function": "__init__.py:169:fullmatch",
                        "calls": 99,
                        "self_cpu_ms": 5376.8490600000005,
                        "cumulative_cpu_ms": 5378.221128000001
                      },
                      {
                        "function": "_model_construction.py:270:__instancecheck__",
                        "calls": 2351,
                        "self_cpu_ms": 4287.019009000001,
                        "cumulative_cpu_ms": 4626.710513
                      },
                      {
                        "function": "frame_ingress.py:83:copy",
                        "calls": 8,
                        "self_cpu_ms": 4253.148844,
                        "cumulative_cpu_ms": 9576.588302000002
                      },
                      {
                        "function": "det_result_path.py:76:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3941.8101540000002,
                        "cumulative_cpu_ms": 577.092161
                      },
                      {
                        "function": "det_result_path.py:74:<genexpr>",
                        "calls": 2408,
                        "self_cpu_ms": 3742.3002930000002,
                        "cumulative_cpu_ms": 3742.3002930000002
                      },
                      {
                        "function": "threading.py:637:wait",
                        "calls": 37,
                        "self_cpu_ms": 2863.360628,
                        "cumulative_cpu_ms": -22359.104381
                      },
                      {
                        "function": "shape_base.py:292:hstack",
                        "calls": 58,
                        "self_cpu_ms": 2277.3769110000003,
                        "cumulative_cpu_ms": 2281.482711
                      },
                      {
                        "function": "<method 'astype' of 'numpy.ndarray' objects>",
                        "calls": 63,
                        "self_cpu_ms": 2071.180047,
                        "cumulative_cpu_ms": 2074.067039
                      }
                    ],
                    "instrumented": true
                  }
                ]
              },
              "queued": 11,
              "events_created": 15,
              "processed": 245,
              "stale": 111,
              "queue_drop": 11
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 245,
            "per_task_buffers": {
              "det": 245
            },
            "latest": {
              "fn": 366,
              "det": 10,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299785.039299915,
            "entries": 245,
            "length": 30,
            "last": "1789447064123-0",
            "pttl": 9788,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "182650d3-8636-43e4-8fad-bf1104f7ad57",
              "runGeneration": 1,
              "frameSeq": 366,
              "ptsNs": 36775462028,
              "ingestTimeWallMs": 1789447062946,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1195035473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789447062839,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8718026280403137,
                  "bbox": [
                    0.56512451171875,
                    0.39129638671875,
                    0.59112548828125,
                    0.51837158203125
                  ],
                  "trackId": 1281,
                  "eventIds": [
                    "cc554984-399e-40e7-b7bd-096e241d3f4d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.578125,
                        0.51837158203125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "cc554984-399e-40e7-b7bd-096e241d3f4d"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.87103670835495,
                  "bbox": [
                    0.625946044921875,
                    0.588043212890625,
                    0.712921142578125,
                    0.702972412109375
                  ],
                  "trackId": 1121,
                  "eventIds": [
                    "eefd20be-ae06-477f-82c2-4ce1e2da9eb8"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66943359375,
                        0.702972412109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "eefd20be-ae06-477f-82c2-4ce1e2da9eb8"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8510885834693909,
                  "bbox": [
                    0.3214874267578125,
                    0.530914306640625,
                    0.3816375732421875,
                    0.594085693359375
                  ],
                  "trackId": 1201,
                  "eventIds": [
                    "989b09b3-e6ff-4c5f-91e6-070ea862048d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.3515625,
                        0.594085693359375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "989b09b3-e6ff-4c5f-91e6-070ea862048d"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8487215638160706,
                  "bbox": [
                    0.7929840087890625,
                    0.3389892578125,
                    0.8476409912109375,
                    0.6082763671875
                  ],
                  "trackId": 481,
                  "eventIds": [
                    "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8203125,
                        0.6082763671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ebecba64-dfc3-4fb7-99f3-a214f1dd11cd"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8338664174079895,
                  "bbox": [
                    0.6156005859375,
                    0.449188232421875,
                    0.6558837890625,
                    0.550811767578125
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.550811767578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ac4eff65-79c8-4f82-9402-2a9351586aeb"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7153245210647583,
                  "bbox": [
                    0.65582275390625,
                    0.439544677734375,
                    0.68499755859375,
                    0.534576416015625
                  ],
                  "trackId": 881,
                  "eventIds": [
                    "78431687-e9b8-4041-ab61-51421fb8a6da"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.67041015625,
                        0.534576416015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "78431687-e9b8-4041-ab61-51421fb8a6da"
                    }
                  ]
                },
                {
                  "objectRef": "9",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5227351784706116,
                  "bbox": [
                    0.6336669921875,
                    0.467559814453125,
                    0.6622314453125,
                    0.554901123046875
                  ],
                  "trackId": 801,
                  "eventIds": [
                    "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64794921875,
                        0.554901123046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "6f7a48f2-9bb0-470e-a279-30c7087be1d5"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1299785.131182869,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "238c5e73-f270-4cb8-afa7-71f177f21de7",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789447064.2564416,
                "source_stage": "native_completed",
                "source_stage_at": 1789447064.3653138,
                "source_stages": {
                  "pipeline_state_changed": 1789447031.123242,
                  "decoded_frame_received": 1789447064.317325,
                  "preprocess_output": 1789447064.3205678,
                  "infer_output": 1789447064.3438458,
                  "consume_entered": 1789447064.3496547,
                  "native_completed": 1789447064.3653138,
                  "inference_frame_completed": 1789447064.2388153
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 334,
                  "preprocess_output": 334,
                  "infer_output": 334,
                  "consume_entered": 334,
                  "native_completed": 334,
                  "inference_frame_completed": 216
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789447028.8997197,
                  "decoded_frame_received": 1789447031.0577872,
                  "preprocess_output": 1789447031.0603921,
                  "infer_output": 1789447031.094695,
                  "consume_entered": 1789447031.1022837,
                  "native_completed": 1789447031.1200802,
                  "inference_frame_completed": 1789447031.1464212
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789447028.8467445,
            "uptime_s": 35.5,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1299785119866640,
                "counts": {
                  "decoded": 334,
                  "selected": 334,
                  "preprocess": 334,
                  "infer": 334,
                  "native": 333,
                  "result": 216,
                  "publisher_submit": 216
                },
                "first_ns": {
                  "decoded": 1299751805038271,
                  "selected": 1299751805106427,
                  "preprocess": 1299751807770482,
                  "infer": 1299751841995193,
                  "native": 1299751867460491,
                  "result": 1299751893383782,
                  "publisher_submit": 1299751893832443
                },
                "last_ns": {
                  "decoded": 1299785064641444,
                  "selected": 1299785064662978,
                  "preprocess": 1299785067915550,
                  "infer": 1299785091117683,
                  "native": 1299785112653851,
                  "result": 1299784985547965,
                  "publisher_submit": 1299784986210289
                },
                "detail": true,
                "pending_samples": 90,
                "last_frame": {
                  "selected": [
                    333,
                    35272222057
                  ],
                  "preprocess": [
                    333,
                    35272222057
                  ],
                  "infer": [
                    333,
                    35272222057
                  ],
                  "native": [
                    333,
                    35272222057
                  ],
                  "result": [
                    320,
                    33972222057
                  ],
                  "publisher_submit": [
                    320,
                    33972222057
                  ]
                },
                "observation_missed": 1,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 187,
                    "mean_ms": 39.31484918181818,
                    "p95_ms": 220.95903,
                    "max_ms": 417.44392
                  },
                  "preprocess_to_infer": {
                    "samples": 187,
                    "mean_ms": 79.88753704812834,
                    "p95_ms": 413.132372,
                    "max_ms": 675.090996
                  },
                  "infer_to_native": {
                    "samples": 186,
                    "mean_ms": 39.31307396236559,
                    "p95_ms": 142.147775,
                    "max_ms": 360.068996
                  },
                  "tracking": {
                    "samples": 99,
                    "mean_ms": 176.186941020202,
                    "p95_ms": 816.302073,
                    "max_ms": 1489.361547
                  },
                  "tracking_cpu": {
                    "samples": 99,
                    "mean_ms": 41.43653287878787,
                    "p95_ms": 64.463605,
                    "max_ms": 169.832696
                  },
                  "scenario_cpu": {
                    "samples": 99,
                    "mean_ms": 1.381829717171717,
                    "p95_ms": 2.460198,
                    "max_ms": 13.793339
                  },
                  "scenario": {
                    "samples": 99,
                    "mean_ms": 2.106086898989899,
                    "p95_ms": 2.494446,
                    "max_ms": 65.078732
                  },
                  "result_work": {
                    "samples": 99,
                    "mean_ms": 188.04165376767676,
                    "p95_ms": 823.417501,
                    "max_ms": 1645.083605
                  },
                  "queue": {
                    "samples": 99,
                    "mean_ms": 935.5310687676767,
                    "p95_ms": 992.89482,
                    "max_ms": 998.657729
                  },
                  "native_to_result": {
                    "samples": 96,
                    "mean_ms": 1116.7217276875,
                    "p95_ms": 1691.062074,
                    "max_ms": 2696.722462
                  },
                  "result_to_publisher_submit": {
                    "samples": 97,
                    "mean_ms": 1.3943482783505154,
                    "p95_ms": 4.800038,
                    "max_ms": 12.60064
                  }
                },
                "sourceFpsObserved": null,
                "closed": false,
                "tracking_profiles": [
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  },
                  {
                    "profile_unavailable": "ANOTHER_TRACKING_PROFILE_ACTIVE"
                  }
                ]
              },
              "queued": 11,
              "events_created": 12,
              "processed": 216,
              "stale": 99,
              "queue_drop": 7
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 216,
            "per_task_buffers": {
              "det": 216
            },
            "latest": {
              "fn": 320,
              "det": 9,
              "persons": 7,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1299785.131235865,
            "entries": 216,
            "length": 30,
            "last": "1789447064239-0",
            "pttl": 9815,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "238c5e73-f270-4cb8-afa7-71f177f21de7",
              "runGeneration": 1,
              "frameSeq": 320,
              "ptsNs": 33972222057,
              "ingestTimeWallMs": 1789447063056,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3322969188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789470706547,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9056565761566162,
                  "bbox": [
                    0.9385833740234375,
                    0.2646484375,
                    0.9998931884765625,
                    0.8623046875
                  ],
                  "trackId": 1361,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.96923828125,
                        0.8623046875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9015746116638184,
                  "bbox": [
                    0.3827362060546875,
                    0.33978271484375,
                    0.4243927001953125,
                    0.57086181640625
                  ],
                  "trackId": 561,
                  "eventIds": [
                    "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.403564453125,
                        0.57086181640625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7d0947d7-d13b-4ad3-ad12-5687551cf05e"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8765287399291992,
                  "bbox": [
                    0.795867919921875,
                    0.33837890625,
                    0.840850830078125,
                    0.6083984375
                  ],
                  "trackId": 161,
                  "eventIds": [
                    "7a69619e-e542-4842-b324-5d7dff328b53"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.818359375,
                        0.6083984375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a69619e-e542-4842-b324-5d7dff328b53"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8334601521492004,
                  "bbox": [
                    0.61663818359375,
                    0.44488525390625,
                    0.65386962890625,
                    0.55120849609375
                  ],
                  "trackId": 1121,
                  "eventIds": [
                    "8f817ba3-ae7c-4c77-9e92-1e1addea0a28"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.55120849609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "8f817ba3-ae7c-4c77-9e92-1e1addea0a28"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8304566740989685,
                  "bbox": [
                    0.5765838623046875,
                    0.38739013671875,
                    0.6011505126953125,
                    0.51397705078125
                  ],
                  "trackId": 721,
                  "eventIds": [
                    "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.5888671875,
                        0.51397705078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "b45357a6-b9a8-4e0e-a71f-20e87a7d5130"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7365901470184326,
                  "bbox": [
                    0.65301513671875,
                    0.44219970703125,
                    0.68682861328125,
                    0.53436279296875
                  ],
                  "trackId": 1201,
                  "eventIds": [
                    "393b790b-92bc-4855-b253-61b294c9be3d"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.53436279296875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "393b790b-92bc-4855-b253-61b294c9be3d"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6172242760658264,
                  "bbox": [
                    0.63427734375,
                    0.46539306640625,
                    0.66357421875,
                    0.55511474609375
                  ],
                  "trackId": 401,
                  "eventIds": [
                    "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64892578125,
                        0.55511474609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7a734c81-1bad-4535-b3ed-4edd5824b93b"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 550,
          "sent_status": 90,
          "sent_frames": 460,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    }
  ],
  "resources": [
    {
      "at": 1299766.502082762,
      "cgroup": "/sys/fs/cgroup/system.slice/docker-dcd4ac34c0e45146934fe59b2b8d2456214da5405e21d1196fdba2022fc1441d.scope",
      "cpu": {
        "usage_usec": 40176627,
        "user_usec": 29813999,
        "system_usec": 10362627,
        "core_sched.force_idle_usec": 0,
        "nr_periods": 0,
        "nr_throttled": 0,
        "throttled_usec": 0,
        "nr_bursts": 0,
        "burst_usec": 0
      },
      "memory": 1220624384,
      "processes": {
        "124256": {
          "comm": "docker-init",
          "status": "Name:\tdocker-init\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t124256\nNgid:\t0\nPid:\t124256\nPPid:\t124227\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t64\nGroups:\t0 \nNStgid:\t124256\t1\nNSpid:\t124256\t1\nNSpgid:\t124256\t1\nNSsid:\t124256\t1\nKthread:\t0\nVmPeak:\t    1060 kB\nVmSize:\t    1060 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t     748 kB\nVmRSS:\t     748 kB\nRssAnon:\t      52 kB\nRssFile:\t     696 kB\nRssShmem:\t       0 kB\nVmData:\t     168 kB\nVmStk:\t     136 kB\nVmExe:\t     548 kB\nVmLib:\t       8 kB\nVmPTE:\t      28 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000300000\nSigCgt:\t0000000000000000\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t94\nnonvoluntary_ctxt_switches:\t5\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "124401": {
          "comm": "entrypoint.sh",
          "status": "Name:\tentrypoint.sh\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t124401\nNgid:\t0\nPid:\t124401\nPPid:\t124256\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t124401\t51\nNSpid:\t124401\t51\nNSpgid:\t124401\t51\nNSsid:\t124256\t1\nKthread:\t0\nVmPeak:\t    7988 kB\nVmSize:\t    7988 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t    4276 kB\nVmRSS:\t    4276 kB\nRssAnon:\t     876 kB\nRssFile:\t    3400 kB\nRssShmem:\t       0 kB\nVmData:\t     948 kB\nVmStk:\t     136 kB\nVmExe:\t     956 kB\nVmLib:\t    1824 kB\nVmPTE:\t      60 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000010000\nSigIgn:\t0000000000000004\nSigCgt:\t0000000000014002\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t20\nnonvoluntary_ctxt_switches:\t0\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "124435": {
          "comm": "tritonserver",
          "status": "Name:\ttritonserver\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t124435\nNgid:\t0\nPid:\t124435\nPPid:\t124401\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t124435\t73\nNSpid:\t124435\t73\nNSpgid:\t124401\t51\nNSsid:\t124256\t1\nKthread:\t0\nVmPeak:\t205806720 kB\nVmSize:\t110316556 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t 1031984 kB\nVmRSS:\t 1024344 kB\nRssAnon:\t  409308 kB\nRssFile:\t  342652 kB\nRssShmem:\t  272384 kB\nVmData:\t 1176592 kB\nVmStk:\t     340 kB\nVmExe:\t   10428 kB\nVmLib:\t  648088 kB\nVmPTE:\t    3540 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t76\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000001004\nSigCgt:\t0000000100004422\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t107\nnonvoluntary_ctxt_switches:\t5\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "124676": {
          "comm": "python3",
          "status": "Name:\tpython3\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t124676\nNgid:\t0\nPid:\t124676\nPPid:\t124401\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t124676\t201\nNSpid:\t124676\t201\nNSpgid:\t124401\t51\nNSsid:\t124256\t1\nKthread:\t0\nVmPeak:\t15232924 kB\nVmSize:\t15204268 kB\nVmLck:\t      16 kB\nVmPin:\t       0 kB\nVmHWM:\t  983552 kB\nVmRSS:\t  983552 kB\nRssAnon:\t  437148 kB\nRssFile:\t  503396 kB\nRssShmem:\t   43008 kB\nVmData:\t 1953716 kB\nVmStk:\t     136 kB\nVmExe:\t    2956 kB\nVmLib:\t 1097756 kB\nVmPTE:\t    4556 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t106\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000001001004\nSigCgt:\t0000000100004003\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t3169\nnonvoluntary_ctxt_switches:\t52\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "125278": {
          "comm": "sleep",
          "status": "Name:\tsleep\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t125278\nNgid:\t0\nPid:\t125278\nPPid:\t124401\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t125278\t372\nNSpid:\t125278\t372\nNSpgid:\t124401\t51\nNSsid:\t124256\t1\nKthread:\t0\nVmPeak:\t    5688 kB\nVmSize:\t    5688 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t    2080 kB\nVmRSS:\t    2080 kB\nRssAnon:\t     116 kB\nRssFile:\t    1964 kB\nRssShmem:\t       0 kB\nVmData:\t     224 kB\nVmStk:\t     136 kB\nVmExe:\t      16 kB\nVmLib:\t    1748 kB\nVmPTE:\t      56 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000000006\nSigCgt:\t0000000000000000\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t1\nnonvoluntary_ctxt_switches:\t1\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        }
      },
      "threads": {
        "124256": {
          "pid": 124256,
          "comm": "docker-init",
          "start": "129973330",
          "ticks": 8,
          "runtime_ns": 88729188,
          "runqueue_wait_ns": 1791113
        },
        "124401": {
          "pid": 124401,
          "comm": "entrypoint.sh",
          "start": "129973381",
          "ticks": 1,
          "runtime_ns": 15780596,
          "runqueue_wait_ns": 0
        },
        "124435": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973401",
          "ticks": 65,
          "runtime_ns": 660647953,
          "runqueue_wait_ns": 1790604
        },
        "124437": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 99440,
          "runqueue_wait_ns": 0
        },
        "124438": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 148609,
          "runqueue_wait_ns": 0
        },
        "124439": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 61170,
          "runqueue_wait_ns": 0
        },
        "124440": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 140065,
          "runqueue_wait_ns": 0
        },
        "124441": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 58404,
          "runqueue_wait_ns": 28966
        },
        "124442": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 123656,
          "runqueue_wait_ns": 0
        },
        "124443": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 88246,
          "runqueue_wait_ns": 0
        },
        "124444": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 40491,
          "runqueue_wait_ns": 0
        },
        "124445": {
          "pid": 124435,
          "comm": "cuda00001400006",
          "start": "129973405",
          "ticks": 0,
          "runtime_ns": 262679,
          "runqueue_wait_ns": 0
        },
        "124446": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973409",
          "ticks": 0,
          "runtime_ns": 2210578,
          "runqueue_wait_ns": 222430
        },
        "124447": {
          "pid": 124435,
          "comm": "cuda-EvtHandlr",
          "start": "129973409",
          "ticks": 19,
          "runtime_ns": 198729978,
          "runqueue_wait_ns": 30775833
        },
        "124472": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973443",
          "ticks": 0,
          "runtime_ns": 15051150,
          "runqueue_wait_ns": 5316765
        },
        "124503": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973465",
          "ticks": 78,
          "runtime_ns": 792367819,
          "runqueue_wait_ns": 660309
        },
        "124504": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973465",
          "ticks": 62,
          "runtime_ns": 621481642,
          "runqueue_wait_ns": 0
        },
        "124505": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973465",
          "ticks": 67,
          "runtime_ns": 673706776,
          "runqueue_wait_ns": 1144505
        },
        "124506": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973465",
          "ticks": 0,
          "runtime_ns": 57951,
          "runqueue_wait_ns": 0
        },
        "124517": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973558",
          "ticks": 0,
          "runtime_ns": 162934,
          "runqueue_wait_ns": 0
        },
        "124518": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973558",
          "ticks": 0,
          "runtime_ns": 153383,
          "runqueue_wait_ns": 0
        },
        "124519": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973581",
          "ticks": 21,
          "runtime_ns": 220219030,
          "runqueue_wait_ns": 14678083
        },
        "124520": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973581",
          "ticks": 221,
          "runtime_ns": 2218255783,
          "runqueue_wait_ns": 11831421
        },
        "124532": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 63167,
          "runqueue_wait_ns": 0
        },
        "124533": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 92117,
          "runqueue_wait_ns": 0
        },
        "124534": {
          "pid": 124435,
          "comm": "MainIOContext",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 2397622,
          "runqueue_wait_ns": 11561
        },
        "124535": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 9,
          "runtime_ns": 103548103,
          "runqueue_wait_ns": 36680680
        },
        "124536": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 8,
          "runtime_ns": 95517690,
          "runqueue_wait_ns": 41744802
        },
        "124537": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 399300,
          "runqueue_wait_ns": 0
        },
        "124538": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 407330,
          "runqueue_wait_ns": 0
        },
        "124539": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 359593,
          "runqueue_wait_ns": 0
        },
        "124540": {
          "pid": 124435,
          "comm": "NvmlTaskRunner",
          "start": "129973607",
          "ticks": 9,
          "runtime_ns": 99596476,
          "runqueue_wait_ns": 678619
        },
        "124541": {
          "pid": 124435,
          "comm": "cache_mgr_event",
          "start": "129973608",
          "ticks": 0,
          "runtime_ns": 3895451,
          "runqueue_wait_ns": 0
        },
        "124543": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973609",
          "ticks": 8,
          "runtime_ns": 95923330,
          "runqueue_wait_ns": 36309868
        },
        "124544": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973609",
          "ticks": 8,
          "runtime_ns": 93737694,
          "runqueue_wait_ns": 55309684
        },
        "124545": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973609",
          "ticks": 0,
          "runtime_ns": 628590,
          "runqueue_wait_ns": 0
        },
        "124546": {
          "pid": 124435,
          "comm": "cache_mgr_main",
          "start": "129973609",
          "ticks": 0,
          "runtime_ns": 7099079,
          "runqueue_wait_ns": 2279381
        },
        "124547": {
          "pid": 124435,
          "comm": "sysev_thread",
          "start": "129973609",
          "ticks": 0,
          "runtime_ns": 2861254,
          "runqueue_wait_ns": 92724
        },
        "124548": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973611",
          "ticks": 5,
          "runtime_ns": 67274437,
          "runqueue_wait_ns": 1532065
        },
        "124549": {
          "pid": 124435,
          "comm": "default-executo",
          "start": "129973611",
          "ticks": 0,
          "runtime_ns": 10323032,
          "runqueue_wait_ns": 180819
        },
        "124550": {
          "pid": 124435,
          "comm": "resolver-execut",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 111621,
          "runqueue_wait_ns": 0
        },
        "124551": {
          "pid": 124435,
          "comm": "grpc_global_tim",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 1938934,
          "runqueue_wait_ns": 17511
        },
        "124552": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 466966,
          "runqueue_wait_ns": 0
        },
        "124553": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 726406,
          "runqueue_wait_ns": 0
        },
        "124554": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 567908,
          "runqueue_wait_ns": 0
        },
        "124555": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 577302,
          "runqueue_wait_ns": 0
        },
        "124556": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 474711,
          "runqueue_wait_ns": 0
        },
        "124557": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 319811,
          "runqueue_wait_ns": 0
        },
        "124558": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 526051,
          "runqueue_wait_ns": 0
        },
        "124559": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 492818,
          "runqueue_wait_ns": 0
        },
        "124560": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 352132,
          "runqueue_wait_ns": 0
        },
        "124561": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 447266,
          "runqueue_wait_ns": 0
        },
        "124562": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 421250,
          "runqueue_wait_ns": 0
        },
        "124563": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 467699,
          "runqueue_wait_ns": 0
        },
        "124564": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 427868,
          "runqueue_wait_ns": 0
        },
        "124565": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 219295,
          "runqueue_wait_ns": 0
        },
        "124566": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 185225,
          "runqueue_wait_ns": 15748
        },
        "124567": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 217273,
          "runqueue_wait_ns": 0
        },
        "124568": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 331324,
          "runqueue_wait_ns": 0
        },
        "124569": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 247166,
          "runqueue_wait_ns": 0
        },
        "124570": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 315834,
          "runqueue_wait_ns": 0
        },
        "124571": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 272995,
          "runqueue_wait_ns": 0
        },
        "124572": {
          "pid": 124435,
          "comm": "timer_manager",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 15649014,
          "runqueue_wait_ns": 4657714
        },
        "124573": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 59,
          "runtime_ns": 599679901,
          "runqueue_wait_ns": 12145205
        },
        "124574": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 76,
          "runtime_ns": 775712955,
          "runqueue_wait_ns": 24538519
        },
        "124575": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 70,
          "runtime_ns": 712804818,
          "runqueue_wait_ns": 20041091
        },
        "124576": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 43,
          "runtime_ns": 443029460,
          "runqueue_wait_ns": 9704774
        },
        "124577": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 127521,
          "runqueue_wait_ns": 0
        },
        "124578": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 232513,
          "runqueue_wait_ns": 0
        },
        "124579": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973613",
          "ticks": 0,
          "runtime_ns": 199433,
          "runqueue_wait_ns": 0
        },
        "124580": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973614",
          "ticks": 0,
          "runtime_ns": 119291,
          "runqueue_wait_ns": 0
        },
        "124581": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973614",
          "ticks": 0,
          "runtime_ns": 224481,
          "runqueue_wait_ns": 0
        },
        "124582": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973615",
          "ticks": 0,
          "runtime_ns": 178378,
          "runqueue_wait_ns": 0
        },
        "124583": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973615",
          "ticks": 0,
          "runtime_ns": 217274,
          "runqueue_wait_ns": 0
        },
        "124584": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973616",
          "ticks": 0,
          "runtime_ns": 138199,
          "runqueue_wait_ns": 0
        },
        "124585": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973616",
          "ticks": 0,
          "runtime_ns": 142845,
          "runqueue_wait_ns": 0
        },
        "124586": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973616",
          "ticks": 0,
          "runtime_ns": 134660,
          "runqueue_wait_ns": 0
        },
        "124587": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973617",
          "ticks": 0,
          "runtime_ns": 66848,
          "runqueue_wait_ns": 0
        },
        "124676": {
          "pid": 124676,
          "comm": "python3",
          "start": "129973858",
          "ticks": 376,
          "runtime_ns": 3770569197,
          "runqueue_wait_ns": 18210920
        },
        "124768": {
          "pid": 124676,
          "comm": "grpc_global_tim",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 5337778,
          "runqueue_wait_ns": 1738791
        },
        "124769": {
          "pid": 124676,
          "comm": "default-executo",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 156844,
          "runqueue_wait_ns": 0
        },
        "124771": {
          "pid": 124676,
          "comm": "resolver-execut",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 62622,
          "runqueue_wait_ns": 0
        },
        "124774": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 6388219,
          "runqueue_wait_ns": 680254
        },
        "124776": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 2700675,
          "runqueue_wait_ns": 1987622
        },
        "124778": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1762236,
          "runqueue_wait_ns": 0
        },
        "124780": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1478054,
          "runqueue_wait_ns": 35289
        },
        "124782": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 2519485,
          "runqueue_wait_ns": 140177
        },
        "124785": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1625117,
          "runqueue_wait_ns": 0
        },
        "124787": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1340887,
          "runqueue_wait_ns": 165680
        },
        "124789": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 2535142,
          "runqueue_wait_ns": 92826
        },
        "124790": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1281258,
          "runqueue_wait_ns": 180905
        },
        "124793": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 959282,
          "runqueue_wait_ns": 183351
        },
        "124795": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1152253,
          "runqueue_wait_ns": 41485
        },
        "124797": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1086108,
          "runqueue_wait_ns": 63061
        },
        "124799": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 957725,
          "runqueue_wait_ns": 190514
        },
        "124801": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1024666,
          "runqueue_wait_ns": 22557
        },
        "124803": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1122661,
          "runqueue_wait_ns": 2030289
        },
        "124805": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 909302,
          "runqueue_wait_ns": 1059370
        },
        "124807": {
          "pid": 124676,
          "comm": "lifeguard",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1958241,
          "runqueue_wait_ns": 342572
        },
        "124808": {
          "pid": 124676,
          "comm": "python3",
          "start": "129973987",
          "ticks": 0,
          "runtime_ns": 383774,
          "runqueue_wait_ns": 0
        },
        "124820": {
          "pid": 124676,
          "comm": "cuda0000380000f",
          "start": "129974012",
          "ticks": 0,
          "runtime_ns": 257966,
          "runqueue_wait_ns": 0
        },
        "124822": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974033",
          "ticks": 0,
          "runtime_ns": 10821654,
          "runqueue_wait_ns": 0
        },
        "124841": {
          "pid": 124676,
          "comm": "libusb_event",
          "start": "129974162",
          "ticks": 0,
          "runtime_ns": 62687,
          "runqueue_wait_ns": 0
        },
        "124842": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974163",
          "ticks": 1,
          "runtime_ns": 16366708,
          "runqueue_wait_ns": 1141308
        },
        "124843": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974164",
          "ticks": 1,
          "runtime_ns": 13829746,
          "runqueue_wait_ns": 96015
        },
        "124844": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974209",
          "ticks": 42,
          "runtime_ns": 433122482,
          "runqueue_wait_ns": 23700800
        },
        "124845": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974213",
          "ticks": 0,
          "runtime_ns": 280579,
          "runqueue_wait_ns": 0
        },
        "124971": {
          "pid": 124676,
          "comm": "grpc_global_tim",
          "start": "129974448",
          "ticks": 0,
          "runtime_ns": 334123,
          "runqueue_wait_ns": 0
        },
        "125025": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974537",
          "ticks": 7,
          "runtime_ns": 76588091,
          "runqueue_wait_ns": 312987
        },
        "125027": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974623",
          "ticks": 586,
          "runtime_ns": 5862174490,
          "runqueue_wait_ns": 147560769
        },
        "125028": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974623",
          "ticks": 1,
          "runtime_ns": 12712777,
          "runqueue_wait_ns": 160901
        },
        "125029": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974623",
          "ticks": 0,
          "runtime_ns": 1093147,
          "runqueue_wait_ns": 710422
        },
        "125030": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974623",
          "ticks": 11,
          "runtime_ns": 117351542,
          "runqueue_wait_ns": 18479586
        },
        "125031": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974625",
          "ticks": 38,
          "runtime_ns": 384290721,
          "runqueue_wait_ns": 473037
        },
        "125032": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974625",
          "ticks": 0,
          "runtime_ns": 1453493,
          "runqueue_wait_ns": 569240
        },
        "125033": {
          "pid": 124676,
          "comm": "cuda-EvtHandlr",
          "start": "129974625",
          "ticks": 25,
          "runtime_ns": 254105870,
          "runqueue_wait_ns": 48578096
        },
        "125036": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 8409916,
          "runqueue_wait_ns": 1046157
        },
        "125037": {
          "pid": 124676,
          "comm": "pool-spawner",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 3425156,
          "runqueue_wait_ns": 0
        },
        "125038": {
          "pid": 124676,
          "comm": "default-executo",
          "start": "129974655",
          "ticks": 4,
          "runtime_ns": 50873476,
          "runqueue_wait_ns": 762826
        },
        "125039": {
          "pid": 124676,
          "comm": "resolver-execut",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 189672,
          "runqueue_wait_ns": 0
        },
        "125040": {
          "pid": 124676,
          "comm": "grpc_global_tim",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 4535749,
          "runqueue_wait_ns": 203839
        },
        "125041": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 516649,
          "runqueue_wait_ns": 3647
        },
        "125042": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 471679,
          "runqueue_wait_ns": 0
        },
        "125043": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 585919,
          "runqueue_wait_ns": 83089
        },
        "125044": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 492913,
          "runqueue_wait_ns": 0
        },
        "125045": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 459443,
          "runqueue_wait_ns": 0
        },
        "125046": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 636151,
          "runqueue_wait_ns": 0
        },
        "125047": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 475374,
          "runqueue_wait_ns": 0
        },
        "125048": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 350006,
          "runqueue_wait_ns": 0
        },
        "125049": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 220704,
          "runqueue_wait_ns": 0
        },
        "125050": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 174233,
          "runqueue_wait_ns": 0
        },
        "125051": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 360701,
          "runqueue_wait_ns": 0
        },
        "125052": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 301870,
          "runqueue_wait_ns": 0
        },
        "125053": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 209112,
          "runqueue_wait_ns": 0
        },
        "125054": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 211390,
          "runqueue_wait_ns": 0
        },
        "125055": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 442125,
          "runqueue_wait_ns": 0
        },
        "125056": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 356128,
          "runqueue_wait_ns": 0
        },
        "125057": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 356791,
          "runqueue_wait_ns": 0
        },
        "125058": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 216112,
          "runqueue_wait_ns": 0
        },
        "125059": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 394253,
          "runqueue_wait_ns": 0
        },
        "125060": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 220582,
          "runqueue_wait_ns": 0
        },
        "125061": {
          "pid": 124676,
          "comm": "timer_manager",
          "start": "129974656",
          "ticks": 1,
          "runtime_ns": 23173738,
          "runqueue_wait_ns": 5209167
        },
        "125062": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974658",
          "ticks": 33,
          "runtime_ns": 342023388,
          "runqueue_wait_ns": 7768062
        },
        "125063": {
          "pid": 124676,
          "comm": "PostCuda",
          "start": "129974680",
          "ticks": 1,
          "runtime_ns": 15965271,
          "runqueue_wait_ns": 4536174
        },
        "125064": {
          "pid": 124676,
          "comm": "PostHost",
          "start": "129974680",
          "ticks": 1,
          "runtime_ns": 14895557,
          "runqueue_wait_ns": 159622
        },
        "125065": {
          "pid": 124676,
          "comm": "GstInferServImp",
          "start": "129974680",
          "ticks": 372,
          "runtime_ns": 3722283478,
          "runqueue_wait_ns": 55871643
        },
        "125066": {
          "pid": 124676,
          "comm": "preprocess-queu",
          "start": "129974680",
          "ticks": 209,
          "runtime_ns": 2100275431,
          "runqueue_wait_ns": 11032940
        },
        "125067": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974681",
          "ticks": 7,
          "runtime_ns": 78623833,
          "runqueue_wait_ns": 4447954
        },
        "125068": {
          "pid": 124676,
          "comm": "task0",
          "start": "129974681",
          "ticks": 29,
          "runtime_ns": 299790904,
          "runqueue_wait_ns": 4474349
        },
        "125069": {
          "pid": 124676,
          "comm": "gmain",
          "start": "129974683",
          "ticks": 0,
          "runtime_ns": 180845,
          "runqueue_wait_ns": 0
        },
        "125070": {
          "pid": 124676,
          "comm": "dconf worker",
          "start": "129974683",
          "ticks": 0,
          "runtime_ns": 7024262,
          "runqueue_wait_ns": 0
        },
        "125071": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129974685",
          "ticks": 12,
          "runtime_ns": 134267915,
          "runqueue_wait_ns": 155061
        },
        "125073": {
          "pid": 124676,
          "comm": "rtpsession-rtcp",
          "start": "129974686",
          "ticks": 0,
          "runtime_ns": 4235123,
          "runqueue_wait_ns": 35971
        },
        "125074": {
          "pid": 124676,
          "comm": "timer",
          "start": "129974688",
          "ticks": 0,
          "runtime_ns": 2361052,
          "runqueue_wait_ns": 0
        },
        "125075": {
          "pid": 124676,
          "comm": "rtpjitterbuffer",
          "start": "129974688",
          "ticks": 20,
          "runtime_ns": 210860496,
          "runqueue_wait_ns": 10316012
        },
        "125086": {
          "pid": 124676,
          "comm": "queue:src",
          "start": "129974788",
          "ticks": 31,
          "runtime_ns": 317772465,
          "runqueue_wait_ns": 1437482
        },
        "125087": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129974793",
          "ticks": 4,
          "runtime_ns": 54169979,
          "runqueue_wait_ns": 2013243
        },
        "125088": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129974793",
          "ticks": 9,
          "runtime_ns": 102899018,
          "runqueue_wait_ns": 5337697
        },
        "125089": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129974796",
          "ticks": 0,
          "runtime_ns": 3998577,
          "runqueue_wait_ns": 35939
        },
        "125090": {
          "pid": 124676,
          "comm": "preprocess-queu",
          "start": "129974799",
          "ticks": 151,
          "runtime_ns": 1519650174,
          "runqueue_wait_ns": 15559714
        },
        "125091": {
          "pid": 124676,
          "comm": "batch_capture-m",
          "start": "129974799",
          "ticks": 36,
          "runtime_ns": 369183302,
          "runqueue_wait_ns": 6053960
        },
        "125092": {
          "pid": 124676,
          "comm": "nvv4l2decoder0:",
          "start": "129974799",
          "ticks": 3,
          "runtime_ns": 32992806,
          "runqueue_wait_ns": 2154924
        },
        "125115": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974961",
          "ticks": 489,
          "runtime_ns": 4896492021,
          "runqueue_wait_ns": 141368660
        },
        "125116": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974961",
          "ticks": 1,
          "runtime_ns": 12641913,
          "runqueue_wait_ns": 0
        },
        "125117": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974961",
          "ticks": 0,
          "runtime_ns": 2035475,
          "runqueue_wait_ns": 1133527
        },
        "125118": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974961",
          "ticks": 9,
          "runtime_ns": 92661187,
          "runqueue_wait_ns": 20135110
        },
        "125121": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974964",
          "ticks": 2,
          "runtime_ns": 29945871,
          "runqueue_wait_ns": 52346
        },
        "125125": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974966",
          "ticks": 26,
          "runtime_ns": 267999988,
          "runqueue_wait_ns": 7723347
        },
        "125132": {
          "pid": 124676,
          "comm": "PostCuda",
          "start": "129974968",
          "ticks": 0,
          "runtime_ns": 11561813,
          "runqueue_wait_ns": 2789456
        },
        "125133": {
          "pid": 124676,
          "comm": "PostHost",
          "start": "129974968",
          "ticks": 0,
          "runtime_ns": 9777466,
          "runqueue_wait_ns": 1475571
        },
        "125134": {
          "pid": 124676,
          "comm": "GstInferServImp",
          "start": "129974968",
          "ticks": 266,
          "runtime_ns": 2672218478,
          "runqueue_wait_ns": 22876361
        },
        "125135": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974968",
          "ticks": 2,
          "runtime_ns": 27423107,
          "runqueue_wait_ns": 2663274
        },
        "125136": {
          "pid": 124676,
          "comm": "task7",
          "start": "129974968",
          "ticks": 24,
          "runtime_ns": 255672050,
          "runqueue_wait_ns": 4606544
        },
        "125137": {
          "pid": 124676,
          "comm": "rtpjitterbuffer",
          "start": "129974968",
          "ticks": 16,
          "runtime_ns": 167918603,
          "runqueue_wait_ns": 2779632
        },
        "125158": {
          "pid": 124676,
          "comm": "rtpsession-rtcp",
          "start": "129975070",
          "ticks": 0,
          "runtime_ns": 2187621,
          "runqueue_wait_ns": 27713
        },
        "125159": {
          "pid": 124676,
          "comm": "timer",
          "start": "129975076",
          "ticks": 0,
          "runtime_ns": 250115,
          "runqueue_wait_ns": 0
        },
        "125160": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129975076",
          "ticks": 7,
          "runtime_ns": 83901287,
          "runqueue_wait_ns": 697382
        },
        "125161": {
          "pid": 124676,
          "comm": "queue:src",
          "start": "129975076",
          "ticks": 5,
          "runtime_ns": 57575225,
          "runqueue_wait_ns": 865081
        },
        "125162": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129975082",
          "ticks": 3,
          "runtime_ns": 38214776,
          "runqueue_wait_ns": 3249483
        },
        "125163": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129975082",
          "ticks": 7,
          "runtime_ns": 87291402,
          "runqueue_wait_ns": 6691451
        },
        "125164": {
          "pid": 124676,
          "comm": "pool-python3",
          "start": "129975087",
          "ticks": 0,
          "runtime_ns": 1231962,
          "runqueue_wait_ns": 0
        },
        "125165": {
          "pid": 124676,
          "comm": "batch_capture-m",
          "start": "129975087",
          "ticks": 28,
          "runtime_ns": 288325413,
          "runqueue_wait_ns": 5113595
        },
        "125166": {
          "pid": 124676,
          "comm": "nvv4l2decoder1:",
          "start": "129975087",
          "ticks": 2,
          "runtime_ns": 26792725,
          "runqueue_wait_ns": 395862
        },
        "125167": {
          "pid": 124676,
          "comm": "grpc_global_tim",
          "start": "129975155",
          "ticks": 0,
          "runtime_ns": 188363,
          "runqueue_wait_ns": 0
        },
        "125278": {
          "pid": 125278,
          "comm": "sleep",
          "start": "129975859",
          "ticks": 0,
          "runtime_ns": 1706339,
          "runqueue_wait_ns": 19218
        }
      },
      "mem_available": 21008265216,
      "gpu": [
        [
          4936,
          49140,
          28
        ]
      ],
      "ticks_per_second": 100
    },
    {
      "at": 1299785.263539138,
      "cgroup": "/sys/fs/cgroup/system.slice/docker-dcd4ac34c0e45146934fe59b2b8d2456214da5405e21d1196fdba2022fc1441d.scope",
      "cpu": {
        "usage_usec": 73510082,
        "user_usec": 56686845,
        "system_usec": 16823237,
        "core_sched.force_idle_usec": 0,
        "nr_periods": 0,
        "nr_throttled": 0,
        "throttled_usec": 0,
        "nr_bursts": 0,
        "burst_usec": 0
      },
      "memory": 1243250688,
      "processes": {
        "124256": {
          "comm": "docker-init",
          "status": "Name:\tdocker-init\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t124256\nNgid:\t0\nPid:\t124256\nPPid:\t124227\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t64\nGroups:\t0 \nNStgid:\t124256\t1\nNSpid:\t124256\t1\nNSpgid:\t124256\t1\nNSsid:\t124256\t1\nKthread:\t0\nVmPeak:\t    1060 kB\nVmSize:\t    1060 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t     748 kB\nVmRSS:\t     748 kB\nRssAnon:\t      52 kB\nRssFile:\t     696 kB\nRssShmem:\t       0 kB\nVmData:\t     168 kB\nVmStk:\t     136 kB\nVmExe:\t     548 kB\nVmLib:\t       8 kB\nVmPTE:\t      28 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000300000\nSigCgt:\t0000000000000000\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t113\nnonvoluntary_ctxt_switches:\t5\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "124401": {
          "comm": "entrypoint.sh",
          "status": "Name:\tentrypoint.sh\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t124401\nNgid:\t0\nPid:\t124401\nPPid:\t124256\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t124401\t51\nNSpid:\t124401\t51\nNSpgid:\t124401\t51\nNSsid:\t124256\t1\nKthread:\t0\nVmPeak:\t    7988 kB\nVmSize:\t    7988 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t    4276 kB\nVmRSS:\t    4276 kB\nRssAnon:\t     876 kB\nRssFile:\t    3400 kB\nRssShmem:\t       0 kB\nVmData:\t     948 kB\nVmStk:\t     136 kB\nVmExe:\t     956 kB\nVmLib:\t    1824 kB\nVmPTE:\t      60 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000010000\nSigIgn:\t0000000000000004\nSigCgt:\t0000000000014002\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t22\nnonvoluntary_ctxt_switches:\t0\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "124435": {
          "comm": "tritonserver",
          "status": "Name:\ttritonserver\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t124435\nNgid:\t0\nPid:\t124435\nPPid:\t124401\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t124435\t73\nNSpid:\t124435\t73\nNSpgid:\t124401\t51\nNSsid:\t124256\t1\nKthread:\t0\nVmPeak:\t205806720 kB\nVmSize:\t110316556 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t 1037744 kB\nVmRSS:\t 1036568 kB\nRssAnon:\t  421532 kB\nRssFile:\t  342652 kB\nRssShmem:\t  272384 kB\nVmData:\t 1190432 kB\nVmStk:\t     340 kB\nVmExe:\t   10428 kB\nVmLib:\t  648088 kB\nVmPTE:\t    3568 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t76\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000001004\nSigCgt:\t0000000100004422\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t107\nnonvoluntary_ctxt_switches:\t5\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "124676": {
          "comm": "python3",
          "status": "Name:\tpython3\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t124676\nNgid:\t0\nPid:\t124676\nPPid:\t124401\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t124676\t201\nNSpid:\t124676\t201\nNSpgid:\t124401\t51\nNSsid:\t124256\t1\nKthread:\t0\nVmPeak:\t15243248 kB\nVmSize:\t15243216 kB\nVmLck:\t      16 kB\nVmPin:\t       0 kB\nVmHWM:\t  993420 kB\nVmRSS:\t  993420 kB\nRssAnon:\t  446988 kB\nRssFile:\t  503424 kB\nRssShmem:\t   43008 kB\nVmData:\t 1996136 kB\nVmStk:\t     136 kB\nVmExe:\t    2956 kB\nVmLib:\t 1097768 kB\nVmPTE:\t    4580 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t105\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000001001004\nSigCgt:\t0000000100004003\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t10044\nnonvoluntary_ctxt_switches:\t55\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "125770": {
          "comm": "sleep",
          "status": "Name:\tsleep\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t125770\nNgid:\t0\nPid:\t125770\nPPid:\t124401\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t125770\t380\nNSpid:\t125770\t380\nNSpgid:\t124401\t51\nNSsid:\t124256\t1\nKthread:\t0\nVmPeak:\t    5688 kB\nVmSize:\t    5688 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t    2184 kB\nVmRSS:\t    2184 kB\nRssAnon:\t     116 kB\nRssFile:\t    2068 kB\nRssShmem:\t       0 kB\nVmData:\t     224 kB\nVmStk:\t     136 kB\nVmExe:\t      16 kB\nVmLib:\t    1748 kB\nVmPTE:\t      48 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000000006\nSigCgt:\t0000000000000000\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t1\nnonvoluntary_ctxt_switches:\t0\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        }
      },
      "threads": {
        "124256": {
          "pid": 124256,
          "comm": "docker-init",
          "start": "129973330",
          "ticks": 8,
          "runtime_ns": 89735946,
          "runqueue_wait_ns": 1797571
        },
        "124401": {
          "pid": 124401,
          "comm": "entrypoint.sh",
          "start": "129973381",
          "ticks": 1,
          "runtime_ns": 18881472,
          "runqueue_wait_ns": 0
        },
        "124435": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973401",
          "ticks": 65,
          "runtime_ns": 660647953,
          "runqueue_wait_ns": 1790604
        },
        "124437": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 99440,
          "runqueue_wait_ns": 0
        },
        "124438": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 148609,
          "runqueue_wait_ns": 0
        },
        "124439": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 61170,
          "runqueue_wait_ns": 0
        },
        "124440": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 140065,
          "runqueue_wait_ns": 0
        },
        "124441": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 58404,
          "runqueue_wait_ns": 28966
        },
        "124442": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 123656,
          "runqueue_wait_ns": 0
        },
        "124443": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 88246,
          "runqueue_wait_ns": 0
        },
        "124444": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973404",
          "ticks": 0,
          "runtime_ns": 40491,
          "runqueue_wait_ns": 0
        },
        "124445": {
          "pid": 124435,
          "comm": "cuda00001400006",
          "start": "129973405",
          "ticks": 0,
          "runtime_ns": 262679,
          "runqueue_wait_ns": 0
        },
        "124446": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973409",
          "ticks": 0,
          "runtime_ns": 3569746,
          "runqueue_wait_ns": 228889
        },
        "124447": {
          "pid": 124435,
          "comm": "cuda-EvtHandlr",
          "start": "129973409",
          "ticks": 37,
          "runtime_ns": 379696517,
          "runqueue_wait_ns": 94516449
        },
        "124472": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973443",
          "ticks": 2,
          "runtime_ns": 22976964,
          "runqueue_wait_ns": 7009821
        },
        "124503": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973465",
          "ticks": 78,
          "runtime_ns": 792367819,
          "runqueue_wait_ns": 660309
        },
        "124504": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973465",
          "ticks": 62,
          "runtime_ns": 621481642,
          "runqueue_wait_ns": 0
        },
        "124505": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973465",
          "ticks": 67,
          "runtime_ns": 673706776,
          "runqueue_wait_ns": 1144505
        },
        "124506": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973465",
          "ticks": 0,
          "runtime_ns": 57951,
          "runqueue_wait_ns": 0
        },
        "124517": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973558",
          "ticks": 0,
          "runtime_ns": 162934,
          "runqueue_wait_ns": 0
        },
        "124518": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973558",
          "ticks": 0,
          "runtime_ns": 153383,
          "runqueue_wait_ns": 0
        },
        "124519": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973581",
          "ticks": 45,
          "runtime_ns": 463668629,
          "runqueue_wait_ns": 19886347
        },
        "124520": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973581",
          "ticks": 449,
          "runtime_ns": 4498272349,
          "runqueue_wait_ns": 41053347
        },
        "124532": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 63167,
          "runqueue_wait_ns": 0
        },
        "124533": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 92117,
          "runqueue_wait_ns": 0
        },
        "124534": {
          "pid": 124435,
          "comm": "MainIOContext",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 3830408,
          "runqueue_wait_ns": 37090
        },
        "124535": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 15,
          "runtime_ns": 165109895,
          "runqueue_wait_ns": 60650566
        },
        "124536": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 14,
          "runtime_ns": 152690845,
          "runqueue_wait_ns": 74294454
        },
        "124537": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 399300,
          "runqueue_wait_ns": 0
        },
        "124538": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 407330,
          "runqueue_wait_ns": 0
        },
        "124539": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973605",
          "ticks": 0,
          "runtime_ns": 359593,
          "runqueue_wait_ns": 0
        },
        "124540": {
          "pid": 124435,
          "comm": "NvmlTaskRunner",
          "start": "129973607",
          "ticks": 13,
          "runtime_ns": 144894922,
          "runqueue_wait_ns": 707708
        },
        "124541": {
          "pid": 124435,
          "comm": "cache_mgr_event",
          "start": "129973608",
          "ticks": 0,
          "runtime_ns": 6419710,
          "runqueue_wait_ns": 0
        },
        "124543": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973609",
          "ticks": 15,
          "runtime_ns": 154216955,
          "runqueue_wait_ns": 76688064
        },
        "124544": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973609",
          "ticks": 14,
          "runtime_ns": 150432122,
          "runqueue_wait_ns": 98273808
        },
        "124545": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973609",
          "ticks": 0,
          "runtime_ns": 628590,
          "runqueue_wait_ns": 0
        },
        "124546": {
          "pid": 124435,
          "comm": "cache_mgr_main",
          "start": "129973609",
          "ticks": 0,
          "runtime_ns": 10902749,
          "runqueue_wait_ns": 2415236
        },
        "124547": {
          "pid": 124435,
          "comm": "sysev_thread",
          "start": "129973609",
          "ticks": 0,
          "runtime_ns": 4658752,
          "runqueue_wait_ns": 2017212
        },
        "124548": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973611",
          "ticks": 10,
          "runtime_ns": 103585990,
          "runqueue_wait_ns": 3035395
        },
        "124549": {
          "pid": 124435,
          "comm": "default-executo",
          "start": "129973611",
          "ticks": 1,
          "runtime_ns": 24471959,
          "runqueue_wait_ns": 180819
        },
        "124550": {
          "pid": 124435,
          "comm": "resolver-execut",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 111621,
          "runqueue_wait_ns": 0
        },
        "124551": {
          "pid": 124435,
          "comm": "grpc_global_tim",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 3072636,
          "runqueue_wait_ns": 1011127
        },
        "124552": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 466966,
          "runqueue_wait_ns": 0
        },
        "124553": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 726406,
          "runqueue_wait_ns": 0
        },
        "124554": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 567908,
          "runqueue_wait_ns": 0
        },
        "124555": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 577302,
          "runqueue_wait_ns": 0
        },
        "124556": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 474711,
          "runqueue_wait_ns": 0
        },
        "124557": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 319811,
          "runqueue_wait_ns": 0
        },
        "124558": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 526051,
          "runqueue_wait_ns": 0
        },
        "124559": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 492818,
          "runqueue_wait_ns": 0
        },
        "124560": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 554902,
          "runqueue_wait_ns": 0
        },
        "124561": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 611356,
          "runqueue_wait_ns": 0
        },
        "124562": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 642911,
          "runqueue_wait_ns": 0
        },
        "124563": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 626260,
          "runqueue_wait_ns": 0
        },
        "124564": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 740360,
          "runqueue_wait_ns": 0
        },
        "124565": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 240821,
          "runqueue_wait_ns": 0
        },
        "124566": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 285413,
          "runqueue_wait_ns": 15748
        },
        "124567": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 374466,
          "runqueue_wait_ns": 0
        },
        "124568": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 331324,
          "runqueue_wait_ns": 0
        },
        "124569": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 279932,
          "runqueue_wait_ns": 0
        },
        "124570": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 590890,
          "runqueue_wait_ns": 0
        },
        "124571": {
          "pid": 124435,
          "comm": "event_engine",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 399871,
          "runqueue_wait_ns": 0
        },
        "124572": {
          "pid": 124435,
          "comm": "timer_manager",
          "start": "129973612",
          "ticks": 3,
          "runtime_ns": 37725858,
          "runqueue_wait_ns": 9281216
        },
        "124573": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 108,
          "runtime_ns": 1086890037,
          "runqueue_wait_ns": 30524298
        },
        "124574": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 157,
          "runtime_ns": 1579406212,
          "runqueue_wait_ns": 61473750
        },
        "124575": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 145,
          "runtime_ns": 1465877083,
          "runqueue_wait_ns": 50081823
        },
        "124576": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 101,
          "runtime_ns": 1019307794,
          "runqueue_wait_ns": 26032546
        },
        "124577": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 127521,
          "runqueue_wait_ns": 0
        },
        "124578": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973612",
          "ticks": 0,
          "runtime_ns": 232513,
          "runqueue_wait_ns": 0
        },
        "124579": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973613",
          "ticks": 0,
          "runtime_ns": 199433,
          "runqueue_wait_ns": 0
        },
        "124580": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973614",
          "ticks": 0,
          "runtime_ns": 119291,
          "runqueue_wait_ns": 0
        },
        "124581": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973614",
          "ticks": 0,
          "runtime_ns": 224481,
          "runqueue_wait_ns": 0
        },
        "124582": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973615",
          "ticks": 0,
          "runtime_ns": 178378,
          "runqueue_wait_ns": 0
        },
        "124583": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973615",
          "ticks": 0,
          "runtime_ns": 217274,
          "runqueue_wait_ns": 0
        },
        "124584": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973616",
          "ticks": 0,
          "runtime_ns": 138199,
          "runqueue_wait_ns": 0
        },
        "124585": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973616",
          "ticks": 0,
          "runtime_ns": 142845,
          "runqueue_wait_ns": 0
        },
        "124586": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973616",
          "ticks": 0,
          "runtime_ns": 134660,
          "runqueue_wait_ns": 0
        },
        "124587": {
          "pid": 124435,
          "comm": "tritonserver",
          "start": "129973617",
          "ticks": 0,
          "runtime_ns": 66848,
          "runqueue_wait_ns": 0
        },
        "124676": {
          "pid": 124676,
          "comm": "python3",
          "start": "129973858",
          "ticks": 454,
          "runtime_ns": 4552874397,
          "runqueue_wait_ns": 52896783
        },
        "124768": {
          "pid": 124676,
          "comm": "grpc_global_tim",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 8117512,
          "runqueue_wait_ns": 1820100
        },
        "124769": {
          "pid": 124676,
          "comm": "default-executo",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 156844,
          "runqueue_wait_ns": 0
        },
        "124771": {
          "pid": 124676,
          "comm": "resolver-execut",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 62622,
          "runqueue_wait_ns": 0
        },
        "124774": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 11328736,
          "runqueue_wait_ns": 1654324
        },
        "124776": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 3111584,
          "runqueue_wait_ns": 1987622
        },
        "124778": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 2076030,
          "runqueue_wait_ns": 32688
        },
        "124780": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1781468,
          "runqueue_wait_ns": 35289
        },
        "124782": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 2878132,
          "runqueue_wait_ns": 140177
        },
        "124785": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 2010434,
          "runqueue_wait_ns": 3404840
        },
        "124787": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1706621,
          "runqueue_wait_ns": 215298
        },
        "124789": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 2795407,
          "runqueue_wait_ns": 92826
        },
        "124790": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1845695,
          "runqueue_wait_ns": 180905
        },
        "124793": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1230934,
          "runqueue_wait_ns": 183351
        },
        "124795": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1479903,
          "runqueue_wait_ns": 41485
        },
        "124797": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 2519422,
          "runqueue_wait_ns": 2206084
        },
        "124799": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1233659,
          "runqueue_wait_ns": 190514
        },
        "124801": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1289705,
          "runqueue_wait_ns": 22557
        },
        "124803": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1421104,
          "runqueue_wait_ns": 2030289
        },
        "124805": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 1378712,
          "runqueue_wait_ns": 1059370
        },
        "124807": {
          "pid": 124676,
          "comm": "lifeguard",
          "start": "129973985",
          "ticks": 0,
          "runtime_ns": 3028858,
          "runqueue_wait_ns": 364035
        },
        "124808": {
          "pid": 124676,
          "comm": "python3",
          "start": "129973987",
          "ticks": 0,
          "runtime_ns": 528108,
          "runqueue_wait_ns": 0
        },
        "124820": {
          "pid": 124676,
          "comm": "cuda0000380000f",
          "start": "129974012",
          "ticks": 0,
          "runtime_ns": 257966,
          "runqueue_wait_ns": 0
        },
        "124822": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974033",
          "ticks": 0,
          "runtime_ns": 10821654,
          "runqueue_wait_ns": 0
        },
        "124841": {
          "pid": 124676,
          "comm": "libusb_event",
          "start": "129974162",
          "ticks": 0,
          "runtime_ns": 62687,
          "runqueue_wait_ns": 0
        },
        "124842": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974163",
          "ticks": 1,
          "runtime_ns": 19493460,
          "runqueue_wait_ns": 2594539
        },
        "124843": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974164",
          "ticks": 1,
          "runtime_ns": 16929018,
          "runqueue_wait_ns": 189041
        },
        "124844": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974209",
          "ticks": 76,
          "runtime_ns": 771158823,
          "runqueue_wait_ns": 47187861
        },
        "124845": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974213",
          "ticks": 0,
          "runtime_ns": 280579,
          "runqueue_wait_ns": 0
        },
        "124971": {
          "pid": 124676,
          "comm": "grpc_global_tim",
          "start": "129974448",
          "ticks": 0,
          "runtime_ns": 1639190,
          "runqueue_wait_ns": 2946946
        },
        "125025": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974537",
          "ticks": 15,
          "runtime_ns": 165870700,
          "runqueue_wait_ns": 5796344
        },
        "125027": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974623",
          "ticks": 1039,
          "runtime_ns": 10400320101,
          "runqueue_wait_ns": 307863750
        },
        "125028": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974623",
          "ticks": 1,
          "runtime_ns": 12712777,
          "runqueue_wait_ns": 160901
        },
        "125029": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974623",
          "ticks": 0,
          "runtime_ns": 1784505,
          "runqueue_wait_ns": 1363523
        },
        "125030": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974623",
          "ticks": 22,
          "runtime_ns": 227645778,
          "runqueue_wait_ns": 36781085
        },
        "125031": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974625",
          "ticks": 38,
          "runtime_ns": 385508429,
          "runqueue_wait_ns": 473037
        },
        "125032": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974625",
          "ticks": 0,
          "runtime_ns": 2681487,
          "runqueue_wait_ns": 569240
        },
        "125033": {
          "pid": 124676,
          "comm": "cuda-EvtHandlr",
          "start": "129974625",
          "ticks": 51,
          "runtime_ns": 520086055,
          "runqueue_wait_ns": 105561964
        },
        "125036": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 16177454,
          "runqueue_wait_ns": 1094383
        },
        "125037": {
          "pid": 124676,
          "comm": "pool-spawner",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 3425156,
          "runqueue_wait_ns": 0
        },
        "125038": {
          "pid": 124676,
          "comm": "default-executo",
          "start": "129974655",
          "ticks": 10,
          "runtime_ns": 102754812,
          "runqueue_wait_ns": 2917871
        },
        "125039": {
          "pid": 124676,
          "comm": "resolver-execut",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 189672,
          "runqueue_wait_ns": 0
        },
        "125040": {
          "pid": 124676,
          "comm": "grpc_global_tim",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 7887262,
          "runqueue_wait_ns": 446023
        },
        "125041": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 516649,
          "runqueue_wait_ns": 3647
        },
        "125042": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 471679,
          "runqueue_wait_ns": 0
        },
        "125043": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 585919,
          "runqueue_wait_ns": 83089
        },
        "125044": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 652674,
          "runqueue_wait_ns": 0
        },
        "125045": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 459443,
          "runqueue_wait_ns": 0
        },
        "125046": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974655",
          "ticks": 0,
          "runtime_ns": 636151,
          "runqueue_wait_ns": 0
        },
        "125047": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 650950,
          "runqueue_wait_ns": 0
        },
        "125048": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 455274,
          "runqueue_wait_ns": 0
        },
        "125049": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 358201,
          "runqueue_wait_ns": 0
        },
        "125050": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 286467,
          "runqueue_wait_ns": 0
        },
        "125051": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 407604,
          "runqueue_wait_ns": 0
        },
        "125052": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 463725,
          "runqueue_wait_ns": 0
        },
        "125053": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 340805,
          "runqueue_wait_ns": 0
        },
        "125054": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 442815,
          "runqueue_wait_ns": 0
        },
        "125055": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 494339,
          "runqueue_wait_ns": 0
        },
        "125056": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 520576,
          "runqueue_wait_ns": 0
        },
        "125057": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 356791,
          "runqueue_wait_ns": 0
        },
        "125058": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 216112,
          "runqueue_wait_ns": 0
        },
        "125059": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 394253,
          "runqueue_wait_ns": 0
        },
        "125060": {
          "pid": 124676,
          "comm": "event_engine",
          "start": "129974656",
          "ticks": 0,
          "runtime_ns": 220582,
          "runqueue_wait_ns": 0
        },
        "125061": {
          "pid": 124676,
          "comm": "timer_manager",
          "start": "129974656",
          "ticks": 4,
          "runtime_ns": 49358822,
          "runqueue_wait_ns": 10073823
        },
        "125062": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974658",
          "ticks": 66,
          "runtime_ns": 667624007,
          "runqueue_wait_ns": 13497279
        },
        "125063": {
          "pid": 124676,
          "comm": "PostCuda",
          "start": "129974680",
          "ticks": 2,
          "runtime_ns": 31224158,
          "runqueue_wait_ns": 4682933
        },
        "125064": {
          "pid": 124676,
          "comm": "PostHost",
          "start": "129974680",
          "ticks": 2,
          "runtime_ns": 27401163,
          "runqueue_wait_ns": 3159292
        },
        "125065": {
          "pid": 124676,
          "comm": "GstInferServImp",
          "start": "129974680",
          "ticks": 828,
          "runtime_ns": 8284213936,
          "runqueue_wait_ns": 112116973
        },
        "125066": {
          "pid": 124676,
          "comm": "preprocess-queu",
          "start": "129974680",
          "ticks": 407,
          "runtime_ns": 4081347450,
          "runqueue_wait_ns": 22174822
        },
        "125067": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974681",
          "ticks": 11,
          "runtime_ns": 115903710,
          "runqueue_wait_ns": 7287329
        },
        "125068": {
          "pid": 124676,
          "comm": "task0",
          "start": "129974681",
          "ticks": 52,
          "runtime_ns": 530214620,
          "runqueue_wait_ns": 12364545
        },
        "125069": {
          "pid": 124676,
          "comm": "gmain",
          "start": "129974683",
          "ticks": 0,
          "runtime_ns": 180845,
          "runqueue_wait_ns": 0
        },
        "125070": {
          "pid": 124676,
          "comm": "dconf worker",
          "start": "129974683",
          "ticks": 0,
          "runtime_ns": 7024262,
          "runqueue_wait_ns": 0
        },
        "125071": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129974685",
          "ticks": 20,
          "runtime_ns": 207793751,
          "runqueue_wait_ns": 2450059
        },
        "125073": {
          "pid": 124676,
          "comm": "rtpsession-rtcp",
          "start": "129974686",
          "ticks": 0,
          "runtime_ns": 6218312,
          "runqueue_wait_ns": 35971
        },
        "125074": {
          "pid": 124676,
          "comm": "timer",
          "start": "129974688",
          "ticks": 0,
          "runtime_ns": 2361052,
          "runqueue_wait_ns": 0
        },
        "125075": {
          "pid": 124676,
          "comm": "rtpjitterbuffer",
          "start": "129974688",
          "ticks": 37,
          "runtime_ns": 388053286,
          "runqueue_wait_ns": 26027657
        },
        "125086": {
          "pid": 124676,
          "comm": "queue:src",
          "start": "129974788",
          "ticks": 38,
          "runtime_ns": 385508654,
          "runqueue_wait_ns": 7376885
        },
        "125087": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129974793",
          "ticks": 10,
          "runtime_ns": 105613703,
          "runqueue_wait_ns": 3968587
        },
        "125088": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129974793",
          "ticks": 15,
          "runtime_ns": 158145026,
          "runqueue_wait_ns": 10471239
        },
        "125089": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129974796",
          "ticks": 0,
          "runtime_ns": 7629532,
          "runqueue_wait_ns": 35939
        },
        "125090": {
          "pid": 124676,
          "comm": "preprocess-queu",
          "start": "129974799",
          "ticks": 345,
          "runtime_ns": 3458054111,
          "runqueue_wait_ns": 28512271
        },
        "125091": {
          "pid": 124676,
          "comm": "batch_capture-m",
          "start": "129974799",
          "ticks": 78,
          "runtime_ns": 782895459,
          "runqueue_wait_ns": 19775542
        },
        "125092": {
          "pid": 124676,
          "comm": "nvv4l2decoder0:",
          "start": "129974799",
          "ticks": 6,
          "runtime_ns": 66394948,
          "runqueue_wait_ns": 3298323
        },
        "125115": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974961",
          "ticks": 967,
          "runtime_ns": 9685818886,
          "runqueue_wait_ns": 273258581
        },
        "125116": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974961",
          "ticks": 1,
          "runtime_ns": 12641913,
          "runqueue_wait_ns": 0
        },
        "125117": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974961",
          "ticks": 0,
          "runtime_ns": 3552966,
          "runqueue_wait_ns": 1971163
        },
        "125118": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974961",
          "ticks": 21,
          "runtime_ns": 221597449,
          "runqueue_wait_ns": 41820680
        },
        "125121": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974964",
          "ticks": 2,
          "runtime_ns": 29945871,
          "runqueue_wait_ns": 52346
        },
        "125125": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974966",
          "ticks": 58,
          "runtime_ns": 587454393,
          "runqueue_wait_ns": 21369513
        },
        "125132": {
          "pid": 124676,
          "comm": "PostCuda",
          "start": "129974968",
          "ticks": 1,
          "runtime_ns": 25904730,
          "runqueue_wait_ns": 5106793
        },
        "125133": {
          "pid": 124676,
          "comm": "PostHost",
          "start": "129974968",
          "ticks": 1,
          "runtime_ns": 21583412,
          "runqueue_wait_ns": 1641827
        },
        "125134": {
          "pid": 124676,
          "comm": "GstInferServImp",
          "start": "129974968",
          "ticks": 741,
          "runtime_ns": 7420707659,
          "runqueue_wait_ns": 77791083
        },
        "125135": {
          "pid": 124676,
          "comm": "python3",
          "start": "129974968",
          "ticks": 6,
          "runtime_ns": 62620528,
          "runqueue_wait_ns": 9265965
        },
        "125136": {
          "pid": 124676,
          "comm": "task7",
          "start": "129974968",
          "ticks": 54,
          "runtime_ns": 546642927,
          "runqueue_wait_ns": 7215155
        },
        "125137": {
          "pid": 124676,
          "comm": "rtpjitterbuffer",
          "start": "129974968",
          "ticks": 34,
          "runtime_ns": 351157016,
          "runqueue_wait_ns": 18533955
        },
        "125158": {
          "pid": 124676,
          "comm": "rtpsession-rtcp",
          "start": "129975070",
          "ticks": 0,
          "runtime_ns": 4294531,
          "runqueue_wait_ns": 27713
        },
        "125159": {
          "pid": 124676,
          "comm": "timer",
          "start": "129975076",
          "ticks": 0,
          "runtime_ns": 250115,
          "runqueue_wait_ns": 0
        },
        "125160": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129975076",
          "ticks": 14,
          "runtime_ns": 148434993,
          "runqueue_wait_ns": 3638073
        },
        "125161": {
          "pid": 124676,
          "comm": "queue:src",
          "start": "129975076",
          "ticks": 12,
          "runtime_ns": 127325618,
          "runqueue_wait_ns": 5462130
        },
        "125162": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129975082",
          "ticks": 8,
          "runtime_ns": 91895242,
          "runqueue_wait_ns": 8097392
        },
        "125163": {
          "pid": 124676,
          "comm": "dec_que:src",
          "start": "129975082",
          "ticks": 13,
          "runtime_ns": 137637224,
          "runqueue_wait_ns": 12686239
        },
        "125165": {
          "pid": 124676,
          "comm": "batch_capture-m",
          "start": "129975087",
          "ticks": 66,
          "runtime_ns": 675180182,
          "runqueue_wait_ns": 15752090
        },
        "125166": {
          "pid": 124676,
          "comm": "nvv4l2decoder1:",
          "start": "129975087",
          "ticks": 5,
          "runtime_ns": 57807482,
          "runqueue_wait_ns": 4046447
        },
        "125167": {
          "pid": 124676,
          "comm": "grpc_global_tim",
          "start": "129975155",
          "ticks": 0,
          "runtime_ns": 1698088,
          "runqueue_wait_ns": 3480342
        },
        "125770": {
          "pid": 125770,
          "comm": "sleep",
          "start": "129977860",
          "ticks": 0,
          "runtime_ns": 2322084,
          "runqueue_wait_ns": 0
        }
      },
      "mem_available": 21094522880,
      "gpu": [
        [
          4936,
          49140,
          25
        ]
      ],
      "ticks_per_second": 100
    }
  ]
}