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.
salauddintapu/FaceDetect_OpenCV
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Face Detection | OpenCV
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published