GithubHelp home page GithubHelp logo

joevenner / facerecognition-gui-app Goto Github PK

View Code? Open in Web Editor NEW
242.0 10.0 115.0 138.84 MB

A very Simple GUI APP for Face Detection and Recognition

Python 100.00%
python face-recognition face-recognition-python face-recognition-application face-detection-gui

facerecognition-gui-app's Introduction

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

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'

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'

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'

About gender_prediction

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

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'

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.