Update: Now supports OpenCV3. This change has been made by furetosan ( https://github.com/furetosan) and tested on Linux. To run the OpenCV3 version, run facedetect_cv3.py. Check out the version: opencv-python >= 4.9.0.80