It is a Artificial Intelligence - Machine Learning based project that can find frontal face in an image, video or live(real-time).
Algorithm used = Cascade Classifier
I've used pre-trained data from OpenCv.
clone : git clone https://github.com/Punit-Choudhary/ML-face-detector.git
Run program and follow instruction:
- Type
i
for testing on image.- provide image path with proper extentions(
.jpeg , .png
)
- provide image path with proper extentions(
- Type
w
if you want to test on a video or using webcam for realtime- provide video path with proper extentions(
.webm, .mp4
) - if you want to use webcam then simply hit
Enter
button.
- provide video path with proper extentions(
Output preview: