wrappers/rest-api/README.md
This Python library provides a convenient wrapper to interact with the [RealSense REST API], a FastAPI-based service that exposes the functionality of the Intel RealSense SDK (librealsense) over a network.
It simplifies remote control and data streaming from RealSense devices by handling communication protocols for:
All endpoints and supported features are documented and available for interactive exploration at the /docs endpoint using the built-in OpenAPI (Swagger) UI.
Create a virtual environment:
python3 -m venv venv
source venv/bin/activate
Install dependencies:
pip3 install -r requirements.txt
Run API server:
run start_server.sh
Run tests(inside tests folder):
pytest test_api_service.py
pytest==8.3.5
pytest-asyncio==0.26.0
typeguard==4.4.4
jinja2==3.1.6
pyyaml==6.0.2
lark==1.2.2
httpx==0.28.1