Skip to content

Sennevds/video-stream-with-gpio-trigger

 
 

Repository files navigation

Video stream with flask and trigger GPIO when someone watching

Based on the following tutorial video streaming with Flask A python script to stream a webcam and activate a GPIO pin when this stream is watched.

How to use

Start the flask app with following params:

FLASK_APP=path-to/app.py CAMERA=opencv flask run

The camera variable can be:

  • opencv
  • v4l2
  • pi

About

Supporting code for my article on video streaming with Flask.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.1%
  • HTML 1.9%