Skip to content

salauddintapu/FaceDetect_OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FaceDetect_OpenCV

Using Python and Python OpenCV library, I have built a class which can detect face in an image(s) and can crop face from the provided image(s). OpenCV is an open source library for real time computer vision. Isntall OpenCV using PyPi command. Read official OpenCV Documentation and OpenCV Python Tutorial.

The face.py file contains the Face class. It has two methods. face_area() returns the pixel coordinates where opencv detects face. It takes one argument, a image. The other method, crop_face crops face using the pixel coordinates and returns the cropped image. The Other folder has some basic concenpts on OpenCV.