Giter VIP home page Giter VIP logo

facerecognition-gui-app's Introduction

Face Recogniton GUI-APP

Build Status

Live Demo

https://www.youtube.com/embed/3EBdT-0gvu8

A very Simple Gui app for Face Detection

  • Collect Face Data
  • Build Face Classifier
  • Detecte the face

New Features!

  • Add Emotion detection
  • Fixed image loading in Linux

Installation

1 : Install the requirements .

$ pip install -r  requirements.txt

2 : Run The App

$ python app-gui.py

APP GUI

Home Page

homepage

Add a User

Add the user you want to train a classifier for
page1

Capture Data and Train Classifier

Capture Data From the face then train the classifier
page2

Users List

List of all the users
page3

Recognition

A webcam window will popup and start recognition proccess
page4

Face Recognition
emotion
Age and Gender



Made By โค : JoeVenner
Free Software, Hell Yeah!

facerecognition-gui-app's People

Contributors

abduqodircoder avatar dependabot[bot] avatar joevenner avatar nguyen-tho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

facerecognition-gui-app's Issues

Problem while training the dataset

I did some changes with the code too, but not the functional part but the training of datasets output the error as:

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\{name}\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py", line 1892, in __call__
    return self.func(*args)
  File "d:\{path}\system.py", line 198, in trainmodel
    train_classifer(self.controller.active_name)
  File "d:\{path}\create_classifier.py", line 11, in train_classifer
    path = os.path.abspath.join(os.getcwd() + "/data/" + name + "/")
AttributeError: 'function' object has no attribute 'join'

Problem while training

clf.train(faces, ids)
cv2.error: OpenCV(4.2.0) /io/opencv_contrib/modules/face/src/lbph_faces.cpp:362: error: (-210:Unsupported format or combination of formats) Empty training data was given. You'll need more than one sample to learn a model. in function 'train'

I get the Some errors

Whenever I run the GUI App i get these kind of errrors can anyone help me to solve that errors ASAP @joeVenner

C:\Users\rishi\Downloads\FaceRecognition-GUI-APP-master\FaceRecognition-GUI-APP-master>python app-gui.py
Traceback (most recent call last):
File "C:\Users\rishi\Downloads\FaceRecognition-GUI-APP-master\FaceRecognition-GUI-APP-master\app-gui.py", line 2, in
from create_classifier import train_classifer
File "C:\Users\rishi\Downloads\FaceRecognition-GUI-APP-master\FaceRecognition-GUI-APP-master\create_classifier.py", line 30, in
train_classifier('tho1')
File "C:\Users\rishi\Downloads\FaceRecognition-GUI-APP-master\FaceRecognition-GUI-APP-master\create_classifier.py", line 25, in train_classifier
clf = cv2.face.LBPHFaceRecognizer_create()
^^^^^^^^
AttributeError: module 'cv2' has no attribute 'face'

About gender_prediction

thank the author for the open source code. I'd like to ask about the code for detecting facial expressions

Unable to run

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 1892, in __call__
    return self.func(*args)
  File "app-gui.py", line 209, in openwebcam
    main_app(self.controller.active_name)
  File "/home/raghav/Documents/FaceRecognition-GUI-APP/Detector.py", line 10, in main_app
    recognizer.read(f"./data/classifiers/{name}_classifier.xml")
cv2.error: OpenCV(4.2.0) /io/opencv_contrib/modules/face/src/facerec.cpp:61: error: (-2:Unspecified error) File can't be opened for reading! in function 'read'

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.