Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 843 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 843 Bytes

Identify faces in Images using the most popular python library- OpenCV.

This mini script/project provides you a simple overview of how the face detection work.

Structure of the Project : s1: Contains the pictures of person 1. In my case he is famous GOT Actor- John Snow s2: Contains the pictures of person 2. s3: Contains the pictures of person 3.

FaceDetector.py : Main code to train our classifier. This py file expects the path of the folder where your training images are stored. Note: The structure of your folder should be same as of this project(s1,s2,s3 and test-data folders).Dont forget to update the path in line 42 as per your structured path.

haarcascade_frontalface_default : Haar Cascade from OpenCV.

facedetection