Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

face-recognition-python

Python face recognition with OpenCV In progress

Installation

  1. Fork or just clone repository to local machine
  2. Create virtual environment to keep project files isolated: py -m venv venv or python3 -m venv /path/to/new/virtual/environment _Read more about - _ Python Virtual Environments
  3. Activate virtual environment: On MacOS & Linux: source env/bin/activate On Windows: .\venv\Scripts\activate
  4. Pip install requirements.txt: pip install -r requirements.txt
  5. Run it: python main.py or python3 main.py

Face Recognition

You can train program with the help of some of your images. So, program will try to predict who you are each run time. How to tratin?

  1. Add the folder container images of you to the 'images' folder: images/madat/1.pngor images/john/1.jpg or images/jack/frontal_face.jpg

    Allowed image types - JPG, PNG

  2. Run trainer: python trainer.py or python3 trainer.py
  3. After training finishes, just run main program: python main.py or python3 main.py

About

Python face recognition with OpenCV

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages