Skip to main content

get_streams_info

This method gets information about each stream that is currently added to EyesOnIt.

Method: GET

Endpoint: /get_streams_info

Response

[
{
"stream_url": "rtsp://192.168.1.54/live0",
"name": "Street Camera",
"status": "MONITORING",
"regions": [
{
"top_left_x": 435,
"top_left_y": 388,
"width": 600,
"height": 224
}
],
"object_size": 210
"prompts": [
{
"text": "vehicle",
"threshold": 90,
"confidence": 83,
"over_threshold": false,
"background_prompt": false
},
{
"text": "driveway",
"background_prompt": true
}
],
"alerting": {
"alert_seconds_count": 0.4,
"reset_seconds_count": 2.0,
"phone_number": null,
"image_notification": false,
"last_detection": {
"prompt_values": {
"vehicle": 94,
"driveway": 82
},
"alerting_prompt": "vehicle",
"alert_time": "2024-07-13 22:55:30"
},
"alerting": true
},
"efficient_detection": {
"periodic_check_enabled": true,
"periodic_check_seconds": 5.0,
"motion_detection_enabled": true,
"motion_detection_threshold": 5000,
"motion_detection_seconds": 0.5
},
"bounding_box": {
"bounding_box_enabled": true,
"detect_people": false,
"detect_vehicles": true,
"detect_bags": false,
"person_confidence_threshold": 30,
"vehicle_confidence_threshold": 30,
"bag_confidence_threshold": 30
},
"frame_rate": 5
}
]

Response JSON Attributes

NameTypeDescription
stream_urlstringthe RTSP URL for the stream including credentials required to connect to the stream
namestringa friendly name for the stream used in the EyesOnIt Web UI and in alerts
statusstringthe status of the stream. Status values are explained here.
regionsRegion[]an array of rectangle detection regions
object_sizenumberthe estimated object size in pixels
promptsPrompt[]an array of object descriptions describing objects to detect
alertingAlertingthe alerting settings and data for this stream
efficient_detectionEfficientDetectionthe motion detection settings for this stream
bounding_boxBoundingBoxthe common object detection settings for this stream
frame_ratenumberthe frame rate for this stream.