Git Product home page Git Product logo

facial-recognition-python's Introduction

Basic Face Recognition in Python (with extensions1)

CREDITS:

Description

  • This Python script utilizes models to perform basic face recognition function from one computer's camera.

Feature

  • Opens the camera
  • Detects person's face, marked via rectangle-square shape marker and also indicated by the face written in the subject's face.

Usage

  • When run, it opens a camera window displaying the live feed.
  • When a person's face is detected, there will be a thin square following the face (just like with a typical modern smartphone camera) and also an indication on whether which emotion the face convey.
  • Termination:
    • To exit the program, press the 'q' key.

Limitations:

  • No Capture and save image:
    • It doesn't capture images from the live camera; it's purely for real-time face recognition detection, let alone saving that captured picture.
  • Lighting and eye-wear:
    • For some unknown reason, a low-lit face especially with eye-wear may not be recognized effectively, until the face subject is well lit or take off subject's eye-wear.
  • Dependencies:
    • Requires installation of OpenCV, Keras, Tensorflow, matplotlib, and other imports like os and numpy to properly work.
  • Pre-trained detection model:
    • The pre-trained face detection model used in this project is provided by the OpenCV project.
      • Model File: data/haarcascade_frontalface_default.xml
    • THE .H5/KERAS MODEL USED IN THIS REPOSITORY IS VERY LOW-TRAINED, MEANING IT HAS LESS DATASET TO FEED DUE TO THE HARDWARE AND TIME CONSTRAINTS.

facial-recognition-python's People

Contributors

blexbottt avatar

Stargazers

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