Skip to content

Georg-Auer/spoc-hetcam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hetcam-video-streaming

SPOC lab CAM²: hetcam-webcam

start cam with sudo CAMERA=opencv python3 app.py to open on restricted port 80

How to make the script run on startup: sudo nano /etc/rc.local insert: sudo CAMERA=opencv python3 app.py &

or for additional logging: sudo CAMERA=opencv python3 app.py & > /home/pi/Desktop/log.txt 2>&1

https://blog.miguelgrinberg.com/post/flask-video-streaming-revisited

to start an OpenCV session from bash, you can do this:

$ CAMERA=opencv python app.py

From a Windows command prompt you can do the same as follows:

$ set CAMERA=opencv $ python app.py

About

Supporting code for my article on video streaming with Flask.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 62.9%
  • HTML 20.1%
  • JavaScript 7.8%
  • C++ 4.9%
  • CSS 3.2%
  • Dockerfile 1.1%