Skip to main content

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
  • Control-point-set mapping endpoint 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/index
  • POST /api/cameras/rtsp/snapshot
  • GET /api/cameras/cameras/{camera_id}/snapshot
  • POST /api/cameras/control_points/map

camera.camera_mapping and the editor now use control_point_sets as the canonical mapping model:

  • fixed camera: one set with pose_reference = null
  • PTZ camera: one or more sets, optionally bound to a pose_reference
  • preview API: receives a single control_point_set payload and maps image <-> world

Pipeline operators (registered by this extension)

  • camera.source
  • camera.motion_gate
  • camera.object_crop
  • camera.camera_mapping
  • camera.area_restriction
  • camera.velocity_estimation
  • camera.best_frame_selector

Public vision operators are registered by the com.toposync.vision extension:

  • vision.detect
  • vision.track

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

  • ffmpeg must be available in PATH for 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toposync_ext_cameras-0.1.2.tar.gz (416.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toposync_ext_cameras-0.1.2-py3-none-any.whl (401.3 kB view details)

Uploaded Python 3

File details

Details for the file toposync_ext_cameras-0.1.2.tar.gz.

File metadata

File hashes

Hashes for toposync_ext_cameras-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6ea30637985519cec55cba69ef4547e4bc33c2cb84e5b5e62fbb85bef4de5a57
MD5 09453e75730964f3947e8b639a9bf300
BLAKE2b-256 46485c2d13d26a1cef589e6da69da9728e6f534447cd0d55a1f60c875aa1aebe

See more details on using hashes here.

File details

Details for the file toposync_ext_cameras-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for toposync_ext_cameras-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 11d04e35b4e4c47d917caec5401fdf46fa917df79a986c65b929e4cfbc674cac
MD5 bbd23d4cc3b59300cf511b9b3da811b8
BLAKE2b-256 6f54d7af0f5253a73402e9348c297376606a9bdd82eae68004d19112f4e33274

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page