aniass / Face-Detection

Face detction using OpenCV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Face Detection

General info

In this project used OpenCV library to detect face, eyes and smile in an image. The OpenCV library has two pre-trained face detection classifiers and this task was used Harr Classifier.

Project includes:

  • Detection face, eyes and smile in an image - Face_eye_smile_detection.ipynb
  • Detection faces in an image - Face_Detection.ipynb
  • Python script with face detection model - face.py
  • models, images - images and models used in the project.

Technologies

Project is created with:

  • Python 3.6
  • libraries: OpenCV, numpy, matplotlib.

Running the project:

To run this project install locally packages:

pip install opencv

Next download the notebook and models/"haarcascade_frontalface_default.xml" to your system and run the script:

face.py

To run Face_Detection.ipynb and Face_eye_smile_detection.ipynb files use Jupyter Notebook or Google Colab.

About

Face detction using OpenCV


Languages

Language:Jupyter Notebook 99.8%Language:Python 0.2%