Giter VIP home page Giter VIP logo

delicate-jerk / face-recognition-authentication Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 5 KB

This is a Python program that uses OpenCV and face recognition libraries to perform real-time facial recognition and authentication. The program captures video from the webcam, detects faces, and matches them against a pre-trained dataset to identify individuals

Python 100.00%
authentication cv2 face-recognition opencv python

face-recognition-authentication's Introduction

Facial Recognition and Authentication ๐Ÿ‘ค๐Ÿ”

This is a Python program that uses OpenCV and face recognition libraries to perform real-time facial recognition and authentication. The program captures video from the webcam, detects faces, and matches them against a pre-trained dataset to identify individuals. It calculates the accuracy of the match and displays the results.

Features ๐ŸŒŸ

  • Real-time facial recognition using webcam input.
  • Compares detected faces against pre-trained encodings.
  • Calculates accuracy based on facial distance and match threshold.
  • Displays the matched name and accuracy for each recognized face.
  • Returns the most matched name after a certain number of frames.

Installation and Usage ๐Ÿ› ๏ธ

  1. Clone this repository to your local machine.
  2. Make sure you have Python and the required libraries installed.
  3. Run the recognize_face.py script using the command: python recognize_face.py.
  4. The program will capture video from your webcam and display the results in the console.

Dependencies ๐Ÿ“ฆ

  • cv2 (OpenCV): For capturing and processing video frames.
  • face_recognition: For face detection and encoding.
  • numpy: For array operations.

Configuration โš™๏ธ

  • You can adjust the faceMatchThreshold and accuracy thresholds in the getAccuracy function to fine-tune matching and accuracy.
  • Update the face_recognition_data directory path to point to your own dataset of face images.

Acknowledgments ๐Ÿ™Œ

  • The face_recognition library simplifies face recognition tasks.
  • Inspired by the idea of using facial recognition for authentication.

Note ๐Ÿ“

  • This program is designed for educational purposes and might require additional improvements for production-level security.

Author ๐Ÿง‘โ€๐Ÿ’ป

[Arshit Arora]

face-recognition-authentication's People

Contributors

delicate-jerk avatar

Watchers

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