curl --request POST \
--url https://api2.rhombussystems.com/api/camera/updateCameraLineCrossingThresholds \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"cameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"directions": [
"INGRESS"
],
"inverted": false,
"objectType": "HUMAN",
"pointA": {
"x": 0.5,
"y": 0.5
},
"pointB": {
"x": 0.5,
"y": 0.5
}
}
'{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Updates the line-crossing feature for a camera. Accepts two points which define a line that determines the threshold for which INGRESS and EGRESS events will be generated. Consider the top-left corner of a camera’s image to be the origin (0,0).
curl --request POST \
--url https://api2.rhombussystems.com/api/camera/updateCameraLineCrossingThresholds \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"cameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"directions": [
"INGRESS"
],
"inverted": false,
"objectType": "HUMAN",
"pointA": {
"x": 0.5,
"y": 0.5
},
"pointB": {
"x": 0.5,
"y": 0.5
}
}
'{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://api-docs.rhombus.community/llms.txt
Use this file to discover all available pages before exploring further.
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Request to update line crossing thresholds for a camera.
RUUID with optional appended facet information
"AAAAAAAAAAAAAAAAAAAAAA.v0"
Set of crossing directions to monitor.
INGRESS, EGRESS By default, INGRESS events occur when the following condition is met for the following line types: an entity moves from top -> bottom when a horizontal line is defined, an entity moves from left -> right when a vertical line is defined, an entity moves from top-left -> bottom-right when an upwards sloping line is defined, and an entity moves from top-right to bottom-left when a downwards sloping line is defined. Setting this value to true will switch INGRESS to EGRESS events and vice-versa.
false
HUMAN, VEHICLE, FACE, LPR, POSE, CLIP_EMBED, UNKNOWN (X,Y) coordinate expressed as a percentage of the camera's resolution.Minimum range is 0.1 and maximum range is 0.9. Leaving this value as null will disable line-crossing.
Show child attributes
(X,Y) coordinate expressed as a percentage of the camera's resolution.Minimum range is 0.1 and maximum range is 0.9. Leaving this value as null will disable line-crossing.
Show child attributes
Was this page helpful?