OpenCV  3.4.7-dev
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.