Skip to content

Face detection using Haar Cascades and Deep Neural Network (DNN) module in OpenCV.

License

Notifications You must be signed in to change notification settings

deepti-96/Face-recognition

Repository files navigation

FACE RECOGNITION AND IDENTIFICATION USING PYTHON AND OPENCV

Installation

Face detection is a method for locating or identifying human faces in digital pictures. Face recognition is a technique for recognizing or validating an individual's identification by looking at their face. Face detection is not the same as facial recognition. Face detection is concerned with detecting the existence of faces in a picture, whereas facial recognition is concerned with determining which face it is.

Description

Face detection is a form of computer vision that aids in the recognition and visualization of human faces in digital pictures. This approach is a type of object identification technology that detects instances of semantic objects of a given class (such as people, buildings, and automobiles) in digital pictures and videos. Face detection has become increasingly important as technology has advanced, particularly in sectors such as photography, security, and marketing. Build a face recognition system with python and OpenCV Haar Cascade face detector and LBPH face recognizer. If you wish to try this facial recognition system with your camera, make a folder with images of your face.

Objective

The repository for the tutorial of the same name can be found here. The goal is to expose people to the idea of object detection in Python using the OpenCV package, as well as how it can be used for applications such as facial detection.

Libraries

• os
• opencv
• numpy
• pickle
• pillow

Installation

All major platforms, including Mac OS, Linux, and Windows, are supported by OpenCV-Python. It is possible to set it up in one of two ways:

  1. From pre-built binaries and source
  2. Unofficial pre-built OpenCV packages for Python. Packages for standard desktop environments (Windows, macOS, almost any GNU/Linux distribution) if you need only the main modules, run
pip install opencv-python 

Approach

We must work on three separate phases to accomplish a full project on Face Recognition:

  1. Face Detection and Data Gathering
  2. Train the Recognizer
  3. Face Recognition

image

Result

The model can recognize a person's picture in real time. This is a non-deep learning face recognition approach that is less accurate than deep learning-based face identification but is significantly more computationally efficient and runs faster on embedded systems.

References

This project is built by following CodingEntreprenur's tutorial in this YouTube video:
https://www.youtube.com/watch?v=PmZ29Vta7Vc&list=PLIxHGHeOyd0zy51wDjY0wjVpAjo3E93ir&index=29

License

MIT

About

Face detection using Haar Cascades and Deep Neural Network (DNN) module in OpenCV.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages