Simple script to stream camera feed to a web server using flask
Required modules:
- flask (pip install flask)
- opencv (pip install opencv-python)
Run:
- Enter "python streamer.py" on terminal
- Wait till you receive the message "Running on http://0.0.0.0:port/ (Press CTRL+C to quit)"
- Open browser and navigate to http://IP:port; where IP is the IP of the machine, port is the server port (default - 2204)
- Quit by using Ctrl+C