OpenCV  4.7.0
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.