This project demonstrates real-time face detection using the OpenCV library in Rust. It captures video from a webcam, detects faces in each frame, and draws rectangles around the detected faces.
- Real-time face detection from webcam feed.
- Cross-platform compatibility (works on Windows, macOS, and Linux).
- Minimal setup required.
- Rust programming language installed (Rust Website)
- OpenCV library for Rust
- Webcam
git clone https://github.com/Telmo-Sousa/open_faces.git
cd open_faces
cargo run
- "Why are there 2 .XML files"
- These files contain pre-trained data for the Haar Cascade classifier, specifically for frontal face detection. In OpenCV, Haar Cascade classifiers are a popular method for object detection in images.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.