GithubHelp home page GithubHelp logo

face-recognition's Introduction

Face Recognition

One shot learning using FaceNet and MTCNN.

Quick start

Step 1: Clone repository or download zip

!git clone https://github.com/SarahHannes/face-recognition.git

Step 2: Add training images to /database folder

Step 3: Create a new environment using requirements.txt or face_recog38.yml

Step 4: Activate the created environment on anaconda prompt

conda activate <environment name>

Step 5: Change directory to cloned folder on anaconda prompt

cd <path to cloned folder>

Step 6: Predict! ๐Ÿ˜Œ

  • To view arguments:
    python main.py --help
  • To set path for training folder (required):
    python main.py --database <path to folder containing training images>
  • To perform face verification through webcam:
    python main.py --database <path to folder containing training images> --webcam
  • To perform face verification on media inputs (.JPG, .MP4):
    python main.py --database <path to folder containing training images> --media <path to folder containing media inputs>
  • To specify threshold:
    python main.py --database <path to folder containing training images> -t <value>

References & credits

Thank you!
[1] GitHub repo by foo290
[2] GitHub repo by R4j4n
[3] Shared google drive containing FaceNet weights by Hiroki Taniai
[4] Tutorial on face recognition
[5] Tutorial on argparse

face-recognition's People

Contributors

sarahhannes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.