The Python script uses OpenCV to detect faces in images and videos.
Use the package manager pip to install OpenCV.
pip install opencv-pythonDownload the Harcascade from OpenCV.
import cv2
faces = face_cascade.detectMultiScale(gray,1.1,4) #detect_faces Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.