Basic openCV2 staff.
QT application showing image processing features of OpenCV
cmake --build <project-dir>/cmake-build-debug --target BaseCv -- -j 6
- IO Camera(io_camera.py) - Get video from camera
- IO Camera(io_camera_2.py) - Get video from camera on mouse click.
- IO Image(io_image.py) - Read and write image with some modifications.
- Face Detection(face_detect_camera/detect.py) - Detect and track face on video from camera.
- Cameo (cameo/cameo.py)- Detect face and put background.
cd Python
pip install cv2
python <script-name>.py
-
Run video scripts as a root(unix) or admin(win)
-
For cameo and tracking add from openCV dir to project:
haarcascade_eye.xml
haarcascade_frontalface_alt.xml
haarcascade_mcs_mouth.xml
haarcascade_mcs_nose.xml
- Python script names are in ().