/AI_Face_Recognition

Personal Project: This is a project I did with reference from YouTube that recognises the faces that the model is trained on. Used as a part of Asthra.

Primary LanguagePython

AI Facial Recognition

Libraries Used: OpenCV and face_recognition

Programming Language Used: Python

Trained Using: Images added into the folder 'faces'

This project works by identifing faces from images and then searching for them using the local camera. If the faces match, the name of the person is indicated on the screen!

Instructions

  1. Clone the repository onto your personal computer

  2. Ensure that Python is installed

--Check the version:

   python3 -V 
  1. Install OpenCV and face_recognition modules of Python
   pip install opencv-python
   pip install face_recognition
  1. Into the directory 'faces', upload png images of faces that you would like to train the model with

  2. Set the camera device to '0' if using PC camera and '1' if using an external camera source

  3. Run the program using a python interpreter

Important

It might take some time to load if there are a large number of images uploaded.