Webcam face and eye detection with OpenCV
python webcam_face_1.py
python webcam_face_to_log.py
python webcam_face_and_eye.py
tested on macOS and Linux
If you want to understand how the code works, see here: https://docs.opencv.org/3.3.1/d7/d8b/tutorial_py_face_detection.html