Camera Realtime Control
Use these tools for camera/video stream setup and realtime inference automation in Annolid.
Realtime Tools
gui_list_realtime_models: List available realtime model presets before starting.gui_check_stream_source: Probe camera/stream connectivity before realtime start.gui_start_realtime_stream: Start realtime stream with source/model/transport and optional bot-report settings.gui_get_realtime_status: Verify stream is running and inspect active source/model/viewer.gui_list_realtime_logs: Retrieve detection and bot-event log file paths.gui_list_logs: Inspect top-level Annolid log targets (logs/realtime/runs/label_index/app).gui_open_log_folder: Open a log target in file browser.gui_remove_log_folder: Remove a log target recursively (explicit user request only).gui_stop_realtime_stream: Stop stream cleanly when done.camera_snapshot: Non-GUI camera probe + snapshot saver for chat/email channels.
Recommended Flow
- Call
gui_list_realtime_modelsand choose model. - Call
gui_check_stream_sourcefirst. - Call
gui_start_realtime_streamwith explicit source andrtsp_transport(tcpfor unstable RTSP). - Confirm with
gui_get_realtime_status. - For diagnostics, call
gui_list_realtime_logs. - Call
gui_stop_realtime_streamafter analysis.
Snapshot + Email Workflow
For "check camera, save snapshot, and email it" requests:
- Call
gui_check_stream_sourcewith:
camera_sourcesave_snapshot=trueemail_to=<recipient>- optional
email_subject,email_content
- Confirm returned fields:
oksnapshot_pathsnapshot_opened_on_canvasemail_sent,email_result
- If
ok=falseorsnapshot_pathis empty, report probe failure and do not claim email was sent.
email_to should be a valid address. When email_to is provided, snapshot capture is required.
Email/Channel Fallback
When GUI tools are unavailable (for example in email channels):
- Call
camera_snapshotwith explicitcamera_source. - Use returned
snapshot_pathasattachment_pathsin theemailtool. - Reply with clear status:
- snapshot saved path
- email send result
- actionable error if either step fails
Stream Tips
- Local camera: use
camera_source="0"(or another index). - RTSP: use full URL and set
rtsp_transport="tcp"if frames are unstable. - RTP multicast: use full
rtp://@host:portsource and validate receiver/network path first.
Bot Reporting Controls
When starting realtime stream, use:
bot_report_enabledbot_report_interval_secbot_watch_labels(CSV or list)bot_email_reportbot_email_to
Keep reporting intervals conservative (>=5s) for high-FPS streams.