GithubHelp home page GithubHelp logo

aminebrahmi / easy_facial_recognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anisayari/easy_facial_recognition

0.0 0.0 0.0 107.07 MB

Easy faciale recognition app

Home Page: https://www.youtube.com/watch?v=54WmrwVWu1w

License: MIT License

Python 100.00%

easy_facial_recognition's Introduction

Easy Facial Recognition

Recognition by minimum norm between vectors (128D dlib descriptor) Alt Text

Prerequisites

Install requirements

Make sure to have the following libraries installed in your Python environment:

  • opencv
  • dlib
  • numpy
  • imutils
  • pillow

Setup faces to recognize

Update the known_faces directory with images of people you want to detect and be sure to crop around the faces as the Zuckerberg example (if you don't, the program execution might raise an error).

Please only use .jpg or .png image format files in the known_faces folder.

For instance, you may have the following files:

/known_faces/Zuckerberg.png
/known_faces/YourPicture.jpg

Note that the recognition name displayed is taken from the file name (without extension) it matches in the known_faces folder.

Camera

You need a camera connected to your PC since the program will stream the image of camera on your screen and will recognize the face displayed should the face be part of the known_faces folder.

Run

easy_facial_recognition.py --i known_faces

Youtube Video explanation (French only)

Click on the image below:

IMAGE ALT TEXT HERE

Authors

  • Anis Ayari - Lead Data Scientist

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Windows environment Notes

On Windows, you may have to additionnally install:

  • opencv-python
  • CMake
  • Visual Studio and the extension for C++ so that dlib installation completes successfully

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.