Skip to content

A part of my graduation project that recognizes faces using open-cv library with python running on a raspberry pi with a usb cam connected

Notifications You must be signed in to change notification settings

mniamme/face-recognition-open-cv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Face Recognition With Open-CV

Description

This is a part of my graduation project where we use OpenCV library with python to recognize faces and take an action according to the face is known or not. We are running it on a Raspberry Pi 3 with a USB web cam connected.

Requirements

  • Python 2.7
  • OpenCV 3.4
  • Numpy

How To Run

  1. Create two folders dataset and recognizer beside the source code
  2. Run dataset_creator.py script to take photos of the face and store it in dataset folder
    • Enter the name of the user which will be stored
    • Enter an id for him
  3. Run trainer.py script to extract data from dataset and store it in recognizer/training_data.yml
  4. Run face_recognition.py script that will detect the face and put the name under it

About

A part of my graduation project that recognizes faces using open-cv library with python running on a raspberry pi with a usb cam connected

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages