This document provides instructions for installing OpenCV with Python on Windows and macOS systems. It also summarizes 9 example programs that demonstrate various computer vision techniques using OpenCV, such as reading and displaying images, opening video files and webcams, edge detection, line detection, color-based object tracking, contour classification, corner feature matching, and face recognition. The examples and more information are available at a provided GitHub URL. Reference materials for learning OpenCV with Python are also listed.
Ex9: Face recognition/tracking •Download the training model (haarcascade_frontalface_default.xml') and put it in the same folder with the code cv_ex9.py. •
References • You canaccess the example from https://github.com/ntudavid/CV_lab • Reference : OpenCV – Python Tutorials https://opencv-python-tutroals.readthedocs.org/en/latest/