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