Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.19 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.19 KB

CVStreamer

HTTPS Motion JPEG streaming server for Python3 with OpenCV.

Requirements

Usage

Quick start

# Install requirments.
$ pip install SimpleHTTPSAuthServer opencv-python

# Use camera 0.
$ python streamer.py 0

then, access http://localhost:8000/cam.html (or cam.mjpg to get Motion JPEG stream directly).

Custom filters

For example, access http://localhost:8000/cam.html?mot=25 to apply motion detection filter.

To create your own filter, add your-filter-name.py to /filter directory.
And then, access http://localhost:8000/cam.html?your-filter-name.
See existing filters for more details.

More options

Run python streamer.py -h and see SimpleHTTPSAuthServer for more command line arguments.
(e.g., serve HTTPS, enable Basic authentication, etc.)