Skip to content
 
 

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

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages