v1

latestOpenAPI 3.0.3Apache 2.02026-07-175678720.5 KB
config

Delete calibration of sensor(s).

post/config/calibration/delete-sensor

Request body

sensorIdsstring[] required

Example request

{
  "sensorIds": [
    "cam1"
  ]
}

Response

Successful Operation.

invalidSensorsstring[] nullable required

Example response

{
  "success": {
    "complete": true
  },
  "invalidSensors": [
    "cam1"
  ],
  "deletedCalibration": {
    "version": "v1",
    "osmURL": "URL",
    "calibrationType": "cartesian",
    "sensors": [
      {
        "type": "camera",
        "id": "cam1",
        "coordinates": {
          "x": 1,
          "y": 1,
          "z": 1
        },
        "translationToGlobalCoordinates": {
          "x": 1,
          "y": 1,
          "z": 1
        },
        "scaleFactor": 1,
        "attributes": [
          {
            "name": "source",
            "value": "vst"
          }
        ],
        "group": {
          "name": "bev-sensor-1",
          "type": "bev",
          "origin": [
            1
          ],
          "dimensions": [
            1
          ],
          "alias": "area-1"
        },
        "region": {
          "placeLevel": "building",
          "origin": [
            1
          ],
          "dimensions": {
            "length": 1,
            "width": 1
          }
        },
        "place": [
          {
            "name": "building",
            "value": "warehouse"
          }
        ],
        "imageCoordinates": [
          {
            "x": 1,
            "y": 1
          }
        ],
        "globalCoordinates": [
          {
            "x": 1,
            "y": 1,
            "z": 1
          }
        ],
        "intrinsicMatrix": [
          [
            2
          ]
        ],
        "extrinsicMatrix": [
          [
            3
          ]
        ],
        "cameraMatrix": [
          [
            4
          ]
        ],
        "homography": [
          [
            5
          ]
        ],
        "rois": [
          {
            "id": "buffer_zone_1",
            "type": "buffer_zone",
            "roiCoordinates": [
              {
                "x": 1,
                "y": 1
              }
            ],
            "restrictedObjectTypes": [
              "Person"
            ],
            "confinedObjectTypes": [
              "Fourier_GR1_T2_Humanoid"
            ]
          }
        ],
        "tripwires": [
          {
            "id": "tripwire-id-1",
            "wire": {
              "p1": {
                "x": 1,
                "y": 1
              },
              "p2": {
                "x": 1,
                "y": 1
              }
            },
            "direction": {
              "p1": {
                "x": 1,
                "y": 1
              },
              "p2": {
                "x": 1,
                "y": 1
              }
            }
          }
        ]
      }
    ],
    "rois": [
      {
        "id": "buffer_zone_1",
        "type": "buffer_zone",
        "roiCoordinates": [
          {
            "x": 1,
            "y": 1
          }
        ],
        "sensors": [
          "cam1"
        ],
        "groups": [
          "bev-sensor-1"
        ],
        "restrictedObjectTypes": [
          "Person"
        ],
        "confinedObjectTypes": [
          "Fourier_GR1_T2_Humanoid"
        ]
      }
    ],
    "tripwires": [
      {
        "id": "tripwire-id-1",
        "wire": {
          "p1": {
            "x": 1,
            "y": 1
          },
          "p2": {
            "x": 1,
            "y": 1
          }
        },
        "direction": {
          "p1": {
            "x": 1,
            "y": 1
          },
          "p2": {
            "x": 1,
            "y": 1
          }
        },
        "sensors": [
          "cam1"
        ],
        "groups": [
          "bev-sensor-1"
        ]
      }
    ],
    "corridors": [
      {
        "name": "city=abc/corridor=xyz",
        "sensors": [
          "cam1"
        ],
        "directions": [
          "N"
        ],
        "length": 5
      }
    ]
  }
}