Coder Social home page Coder Social logo

kaushalprasadhial / facerecog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from susantabiswas/facerecog

0.0 0.0 0.0 68.96 MB

Realtime Facial recognition system using Siamese neural network

Home Page: https://susantabiswas.github.io/FaceRecog/

Python 34.19% Jupyter Notebook 65.81%

facerecog's Introduction

HitCount

Face Recognition System

Face Recognition system using Siamese Neural network. The model is based on the FaceNet model. OpenCV implementaion has been done for realtime face detection and recognition using the network. The model uses face encodings for identifying users.

There are two versions available:

  1. Jupyter Notebook: Explains things in greater details.

  2. Command line program: Python script for the same. Below are some snapshots of it.

    1 4
    2

Face recognition

There are two options:

  1. Realtime facial recognition: In this the model does facial recognition in realtime using the camera feed with text overlay telling whether the user is registered with the system or not.
  2. Normal facial recognition: In this the camera starts for 5-6 seconds and snaps some pictures of the user, then the picture is used for recognition.

Options for adding a new user:

The program uses a python dictionary for mapping for users to their corresponding face encodings.

  1. Using the image path: In this the full image name is provided along with the name of the person. The image should be saved in the images folder.
  2. Using the camera: The webcam starts and takes picture of the user in the frame and registers his/her.

Controlling the recognition accuracy:

The threshold value controls the confidence with which the face is recognized, you can control it by changing the threshold parameter value in function calls.

Here is a demo gif

NOTE: The FPS is very less in the gif that is why it seems to lag everywhere.

demo

References:

facerecog's People

Contributors

susantabiswas 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.