toys/pyglcv
anjingyu ec4b4f5e41 feat: update 2025-07-11 20:10:03 +08:00
..
.gitignore chore: migrate 2024-04-14 23:20:38 +08:00
README.md chore: migrate 2024-04-14 23:20:38 +08:00
cvdemo.py chore: migrate 2024-04-14 23:20:38 +08:00
main.py chore: migrate 2024-04-14 23:20:38 +08:00
pyproject.toml feat: update 2025-07-11 20:10:03 +08:00
qtdemo.py chore: migrate 2024-04-14 23:20:38 +08:00
qtvplayer.py chore: migrate 2024-04-14 23:20:38 +08:00

README.md

PyQt5+PyOpenGL+OpenCV Demo for WebCam

poetry install

python main.py

NOTE

Because of the conflicition of the Qt version between PyQt5 and OpenCV, we have to disable the GUI feature of OpenCV when integrate them together.

If you wanna run the opencv demo independently(without PyQt5):

poetry remove opencv-python-headless
poetry add opencv-python

python cvdemo.py