v1

latestOpenAPI 3.0.3Apache 2.02026-07-175678720.5 KB
tracker

Unique Objects, represents an Object tracked across multiple sensors, Each object comprise of list of Behavior or Tracklets. The Behavior represents an object traversal/appearance etc in a given sensor with respect to time and space. Please check the input descriptions to check its dependencies.

get/tracker/unique-objects

Query parameters

fromTimestampstring date-time required
toTimestampstring date-time required
sensorIdsstring[]

This parameter is incompatible with place. Only one of them can exist in the query. When objectId is present, then only one sensorId can be present in the sensorIds array.

objectIdstring
placestring

This parameter is incompatible with sensorIds and globalId. Only one of them can exist in the query.

globalIdstring

This parameter is incompatible with sensorIds and place. Only one of them can exist in the query.

maxResultSizeinteger

This parameter is incompatible with globalId. Only one of them can exist in the query.

Response

Successful Operation.

Example response

{
  "uniqueObjects": [
    {
      "batchId": "batch-1",
      "globalId": "1",
      "timestamp": "2022-08-25T00:00:00.000Z",
      "end": "2022-08-25T00:00:55.000Z",
      "objectType": "Person",
      "matched": [
        {
          "id": "Cam1 #-# 11",
          "sensorId": "Cam1",
          "objectId": "11",
          "objectType": "Person",
          "timestamp": "2022-08-25T00:00:00.000Z",
          "end": "2022-08-25T00:00:30.000Z",
          "startFrame": "10",
          "endFrame": "910",
          "place": "city=Santa Clara/building=K",
          "locations": [
            [
              10,
              11
            ]
          ]
        },
        {
          "id": "Cam2 #-# 12",
          "sensorId": "Cam2",
          "objectId": "12",
          "objectType": "Person",
          "timestamp": "2022-08-25T00:00:40.000Z",
          "end": "2022-08-25T00:00:55.000Z",
          "startFrame": "210",
          "endFrame": "1010",
          "place": "city=Santa Clara/building=K",
          "locations": [
            [
              10,
              11
            ]
          ]
        }
      ]
    }
  ]
}