config
Get calibration configuration
Changed onRetrieve calibration configuration from the database, optionally for a specific sensor or as an empty result when no configuration is found.
get/config/calibration
Request
- Base URLhttps://ai.nvidia.com/api/v3.3/analytics
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
sensorIdstring
emptyIfNotFoundboolean
If set to true, empty calibration will be returned when calibration config is not found.
Response
Successful Operation.
Example response
{
"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
}
]
}Changes
- breaking
the
response property's minLength was decreased from1to0for the response status
- breaking