Make sure poetry
is installed, then, run the application
poetry install
poetry run
In a browser, open localhost:8000/camera/0/health
, which will tell if the camera at index 0 (/dev/video0
) is available. If the camera is available, go ahead and open localhost:8000/camera/0
, which will show a live camera stream.