Giter Site home page Giter Site logo

danielmaangi / demo-face-recognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avaiga/demo-face-recognition

0.0 0.0 0.0 11.54 MB

Demo of realtime face recognition with Taipy

License: Apache License 2.0

JavaScript 12.15% Python 56.97% TypeScript 30.46% CSS 0.43%

demo-face-recognition's Introduction

Demo Face Recognition

What is Demo Face Recognition

This demo shows how to use Taipy with a custom GUI component to capture video from your webcam and do realtime face detection.

What this application demonstrates:

  • How to build a complex custom UI component for Taipy.
  • How to detect and recognize faces in the image in real time using OpenCV.

Usage

A Webcam component is shown at the center of the application. It can detect faces and identify them. To be able to recognize your face, capture multiple photos of your face (click on the "Capture" button) and write your name when the dialog appears. At the end, click "Retrain" and the model should now recognize your face.

Demo Type

  • Level: Advanced
  • Topic: Taipy-GUI, Computer Vision
  • Components/Controls:
    • Taipy GUI: custom GUI component
  • Other: OpenCV

Installation

Want to install this demo? Check out our INSTALLATION.md file.

Getting Started

Check out our GETTING_STARTED.md file.

Directory Structure

  • src/: Main folder for the application code
    • main.py: Main file containing the demo application code.
    • demo/: Contains additional demo source code.
      • demo/faces.py: Contains the code to do face detection and face recognition.
      • src/image.py: Contains shared facility functions.
    • webcam/: Contains custom component code. The directory contains the Python files to declare the custom component to Taipy.
      • webcam/webui: Contains the TypeScript source code for the custom React component.
    • classifiers: Contains the OpenCV classifiers used in the app for face detection.
    • images: Contains the files to train the face detection of the demo. This folder is created at first startup. All image captures will go into this directory.
  • docs/: contains the images for the documentation
  • CODE_OF_CONDUCT.md: Code of conduct for members and contributors of demo-covid-dashboard.
  • CONTRIBUTING.md: Instructions to contribute to demo-covid-dashboard.
  • INSTALLATION.md: Instructions to install demo-covid-dashboard.
  • LICENSE: The Apache 2.0 License.
  • Pipfile: File used by the Pipenv virtual environment to manage project dependencies.
  • README.md: Current file.

Contributing

Want to help build this demo? Check out our CONTRIBUTING.md file.

License

Licensed under the Apache License, Version 2.0. See LICENSE.md.

demo-face-recognition's People

Contributors

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