Detection Configuration
Reference for the Detection Configuration JSON element.
See also: Detection Configuration
Example
{
"class_name": "person",
"class_threshold": 10,
"object_size": 150,
"object_descriptions": [],
"conditions": [],
"alert_seconds": 1,
"reset_seconds": 5
}
Fields
| Field | Type | Description |
|---|---|---|
class_name | string | Optional class filter. |
class_threshold | number | Confidence threshold for class_name. |
object_size | number | Minimum object size in pixels. |
combined_threshold | number | Combined threshold for alerting. |
min_contour_area | number | Optional contour-area filter. |
max_bounding_box_area | number | Optional upper bound for bounding-box area. |
object_descriptions | Object Description[] | Natural-language prompts. |
face_recognition | Face Recognition Config | Face recognition settings. |
similarity | Similarity Config | Similarity settings. |
conditions | Detection Condition[] | Alert conditions. |
alert_seconds | number | Time a match must persist before alerting. |
reset_seconds | number | Time without a match before reset. |
objects | Detection Object[] | Optional advanced object filters. |