Modified to support streaming out with webcams, and not just raw JPEGs.
Most of the code credits to Miguel Grinberg, except that I made a small tweak. Thanks! http://blog.miguelgrinberg.com/post/video-streaming-with-flask
- Install Python dependencies: cv2, flask. (wish that pip install works like a charm)
- Run "python main.py".
- Navigate the browser to the local webpage.