Skip to content

sayannath/FaceNet-Implementation-Tensorflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FaceNet-Implementation-Tensorflow

Face Authentication with Tensorflow, Keras and OpenCV

How to Use

  1. Clone the Repo.

  2. python3 -m pip install --user virtualenv (In Mac or Linux)
    python -m pip install --user virtualenv (In Windows)
    

    [Make sure Python3 is installed in your system]

  3. python3 -m venv env (In Mac or Linux)
    python -m venv env (In Windows) 
    
  4. source env/bin/activate  (In Mac or Linux)
    .\env\Scripts\activate (In Windows) 
    
  5. pip3 install -r requirements.txt (In Mac or Linux)
    pip install -r requirements.txt (In Windows)
    
  6. Download the FaceNet weight from here in the folder model.

  7. Place your 5 photos in the directory Faces by creating a folder with your name.

  8. Run train.py file

python3 train.py [For Mac/Linux]
python train.py [For Windows]
  1. Run detect.py file
python3 detect.py [For Mac/Linux]
python detect.py [For Windows]
  1. Happy Coding!

Developed and Maintained By

About

Face Authentication with Tensorflow, Keras and OpenCV

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages