Toposync first-party extension: RTSP cameras and camera pipeline operators.
Project description
Toposync Cameras extension
First-party extension focused on camera integration for the global Pipelines runtime.
What it provides
- RTSP camera settings and indexing (
/api/cameras/index) - RTSP snapshot endpoints used by UI/tools
- Visual calibration and projection mapping endpoints for camera/composition interpolation
- Camera pipeline operators registry integration
- Camera element/editor UI in the composition
The old per-camera detections runtime (/api/cameras/detections/*, cameras.tracking, and toposync_ext_cameras.processor_server) is no longer part of this extension.
APIs
GET /api/cameras/indexPOST /api/cameras/rtsp/snapshotGET /api/cameras/cameras/{camera_id}/snapshotPOST /api/cameras/projection/mapPOST /api/cameras/control_points/map
camera.camera_mapping and the editor use calibrated_views as the canonical mapping model:
- fixed camera: one default calibrated view with
pose_reference = null - PTZ camera: one or more calibrated views bound to
pose_referenceor presets - projection model:
image_quad_on_world, with an image region and a world-space quadrilateral - stream scope:
mainandsubare compatible by default;zoomneeds an explicit calibrated view/scope - mapping runtime: derives internal control-point pairs from calibrated views so pipeline outputs keep
payload.world
The legacy control_points mapping endpoint remains as a low-level diagnostic adapter. New UI and extension code should use calibrated views and /api/cameras/projection/map.
Pipeline operators (registered by this extension)
camera.sourcecamera.motion_gatecamera.camera_mappingcamera.area_restrictioncamera.velocity_estimation
Public vision operators are registered by the com.toposync.vision extension:
vision.detectvision.trackvision.crop_objects
Legacy vendor-specific YOLO/Ultralytics runtimes are not part of the official first-party path in this extension. If you need one of those integrations in the future, ship it as a separate package and keep vision.detect / vision.track as the public operator contract.
Dependencies
ffmpegmust be available inPATHfor snapshot capture.- OpenCV is required by frame/motion processing:
uv pip install opencv-python-headless
- Vision runtimes are optional and can be installed from
extensions/vision.
Snapshot tuning
TOPOSYNC_CAMERA_SNAPSHOT_TTL_S(default:0.8)TOPOSYNC_CAMERA_SNAPSHOT_FFMPEG_CONCURRENCY(default:2)
RTSP note
Some cameras expose /stream1 and /stream2. If /stream1 is unstable for snapshots, configure rtsp_url with the substream (/stream2) explicitly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file toposync_ext_cameras-0.4.0.tar.gz.
File metadata
- Download URL: toposync_ext_cameras-0.4.0.tar.gz
- Upload date:
- Size: 472.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3669b9ad36b7dc04122624cbb34dbfd95ee9eb3f3b629361defcf910309bf231
|
|
| MD5 |
a5381350e9e359c5503520f7cfba668c
|
|
| BLAKE2b-256 |
a44932b3e46f9e0950b3bdfc510f1df1c426586ee3423c544fd007cb115a677f
|
File details
Details for the file toposync_ext_cameras-0.4.0-py3-none-any.whl.
File metadata
- Download URL: toposync_ext_cameras-0.4.0-py3-none-any.whl
- Upload date:
- Size: 434.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d08a3be9d1b2624d67988ae0b987d09bec8529fb4df0c629c5a171155a510024
|
|
| MD5 |
c1a8a32c0c5816362af934ec088131dd
|
|
| BLAKE2b-256 |
0d5ee32afa861da2deabd92577f66c07a6939838f10f0a18ec219d6b77030159
|