OpenCV  4.1.1
Open Source Computer Vision
Face Detection in Video Capture

Goal

Note
If you don't know how to capture video from camera, please review Getting Started with Videos.