PTZ Server (Work in Progress)
March 3, 2023 ยท View on GitHub
This python server communicates with pan-tilt-zoom (PTZ) cameras using the NDI and Free-D protocols. Commands are issued using NDI (via the ndi-python library) and status is read from the camera using the free-d protocol. A Flask server opens up an HTTP API with two endpoints: for querying current camera state (as read by Free-D) and for issuing a command to the camera (using NDI's PTZ commands).
Instructions
- Install dependencies using pip (python package manager):
pip install ndi-python flask flask_cors cv2 numpy
- Start the server:
python server.py
- Access the web controller at http://127.0.0.1:5000.

Links
- Equirectangular Image from PolyHaven