Camera Webservice

Get camera AI thresholds

Get AI normalized confidence thresholds for a camera

post/api/camera/getCameraAIThresholds

Request

  • Base URL: https://api2.rhombussystems.com
  • URL: https://api2.rhombussystems.com/api/camera/getCameraAIThresholds
  • Auth: API key in header x-auth-apikey

Headers

x-auth-scheme'api-token' | 'api' | 'partner-api-token' | 'partner-api' required

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.

Request body

cameraUuidstring DeviceFacetUuid nullable

RUUID with optional appended facet information

Example request

{
  "cameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0"
}

Response

OK

consecutiveHumanFilterinteger nullable

Require this many consecutive frames of seeing a human to include that human detection in results. Set to 1 to always include detections, or higher to avoid false positives due to transient motion like bugs/spiders/rain. Default is 2 consecutive frames.

consecutiveVehicleFilterinteger nullable

Require this many consecutive frames of seeing a vehicle to include that vehicle detection in results. Set to 1 to always include detections, or higher to avoid false positives due to transient motion like bugs/spiders/rain. Default is 2 consecutive frames.

errorboolean nullable
errorCodestring nullable

Stable, machine-readable code for the failure (one of the ApiErrorCode catalog) when error is true. Branch on this, not on errorMsg.

errorMsgstring nullable
faceConfidenceThresholdnumber float nullable

Confidence threshold for face detection. 0 or null means the built-in default.

faceMatchConfidenceThresholdnumber float nullable

Confidence threshold for face matching (determining if two faces are the same person). 0 or null means the built-in default. We no longer support device specific face matching threshold. This property is deprecated and will be removed.

humanConfidenceThresholdnumber float nullable

Confidence threshold for human detection. 0 or null means the built-in default.

lprConfidenceThresholdnumber float nullable

Confidence threshold for license plate detection and character recognition. 0 or null means the built-in default.

maxEventDurationMsinteger nullable

The max event duration for an alert in milliseconds. Default is 30000, lowering down to 4000 will result in faster alert delivery but shorter alert clips.

vehicleConfidenceThresholdnumber float nullable

Confidence threshold for vehicle detection. 0 or null means the built-in default.

warningMsgstring nullable

Example response

{
  "consecutiveHumanFilter": 3,
  "consecutiveVehicleFilter": 3,
  "faceConfidenceThreshold": 0.8,
  "humanConfidenceThreshold": 0.7,
  "lprConfidenceThreshold": 0.9,
  "maxEventDurationMs": 15000,
  "vehicleConfidenceThreshold": 0.7
}

Changes

No recorded changes to this operation across all 1 revision of this API.