code for article pfeilbr/opencv-python-playground
code is split between jupyter notebook(s) and python (.py) files
to create virtualenv (only required for first time setup)
python3 -m venv .env
Running
activate virtualenv
source .env/bin/activate
display webcam video
python opencv-webcam.py
example run screenshot
Twitter • Reddit