Tip: To use the camera, browsers require HTTPS or localhost.
- Open a terminal in the folder containing this HTML file.
- Run the following command (Python 3 required):
python -m http.server 8000
- Open your browser and go to
http://localhost:8000.
- Allow camera access when prompted.