Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.almond.bot/llms.txt

Use this file to discover all available pages before exploring further.

Streams up to three ZED-X One cameras over the local network using HEVC (H.265) encoding via the ZED SDK. Requires pyzed — install it with axol zed.install (see zed.install).
from almond_axol.zed import ZedStreamer, ZedConfig
import asyncio
from almond_axol.zed import ZedStreamer, ZedConfig

async def main():
    config = ZedConfig(
        overhead_serial=12345678,
        left_arm_serial=23456789,
        right_arm_serial=34567890,
    )
    async with ZedStreamer(config):
        await asyncio.sleep(float("inf"))

asyncio.run(main())

ZedConfig fields

FieldDefaultDescription
overhead_serialNoneSerial number of the overhead camera
left_arm_serialNoneSerial number of the left-arm camera
right_arm_serialNoneSerial number of the right-arm camera
overhead_port30000Streaming port for the overhead camera
left_arm_port30002Streaming port for the left-arm camera
right_arm_port30004Streaming port for the right-arm camera
resolutionSVGAsl.RESOLUTION: HD1200, HD1080, or SVGA
fps60Capture frame rate for all cameras
bitrate8000 kbpsHEVC encoding bitrate
At least one serial number must be provided. The sender IP is 192.168.10.1/24; set it automatically with --setup-ip via the CLI or by calling setup_link_ip(iface, "192.168.10.1/24") from almond_axol.shared before streaming.