The project contains two files.One for running live stream video. One for running web browser and its interface.
-----------for web browser--------------- run browser3.py to run please make sure pygame module is installed to the computer for the sound effects.
--------for live streaming program----------- please make sure Flask and Python-opencv are installed to the computer before running.
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.