Skip to content

This is a simple Face Detection application based on Python libraries OpenCV and dlib. It also has an UI for better experience which is based on Flask Framework.

Notifications You must be signed in to change notification settings

vandit1302/Face-Detection-using-OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face-Detection-using-OpenCV

This is a simple Face Detection application based on Python libraries OpenCV and dlib. It also has an UI for better experience which is based on Flask Framework.

image

⚡ Installation and Usage

To use this application,follow the steps:

1. Make sure you have python installed in your system.
2. Install openCV , dlib , skimage and Flask libraries in your system. 
   (It would be better to install all the libraries for this project in a virtual environment)
3. Open the command prompt and type python app2.py. This will start the Flask server.
4. localhost:5000/index is the location where this application is hosted.
6. Open your browser and go to localhost:5000/index to run the application.

⚡ Face Detection in Uploaded Images:

1. Select the image to be uploaded.
2. Click on Detect Faces.
3. A pop up window appears with borders around the faces in the image. 
   Click enter and the summary of faces is diaplayed.

⚡ Images with a single face

image


image



⚡ Images with multiple faces

image

image

⚡ Face Detection in Webcam mode:

1. Select the Webcam option and wait for the webcam to open.
2. After playing around with the webcam detection, press Q to exit.

image

About

This is a simple Face Detection application based on Python libraries OpenCV and dlib. It also has an UI for better experience which is based on Flask Framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published