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