Detect and Track Multiple Faces
Editor's Note: This file was selected as MATLAB Central Pick of the Week
This is a simple system for detecting and tracking multiple faces from live video. It uses the Computer Vision System Toolbox and the Webcam Support Package. The system detects faces using the Viola-Jones algorithm, detects min-eigen corners within each face's bounding box, and tracks the corners using the Kanade-Lucas-Tomasi (KLT) algorithm. It re-detects the faces every 10 frames in order to correct the tracker and replenish the points.
Cite As
Dima Lisin (2024). Detect and Track Multiple Faces (https://www.mathworks.com/matlabcentral/fileexchange/47105-detect-and-track-multiple-faces), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Object Detection Using Features > Face Detection >
- Image Processing and Computer Vision > Computer Vision Toolbox > Computer Vision Toolbox Supported Hardware >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.