GithubHelp home page GithubHelp logo

cvlib's Introduction

Implementations of a few computer vision algorithms in Python/MATLAB

Please click on the individual folders to read more about each technique.

cvlib's People

Contributors

tanay-bits avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cvlib's Issues

Error on training

File "face_train_eigen.py", line 104, in
trainer = TrainEigenFaces()
File "face_train_eigen.py", line 19, in init
self.model = cv2.createEigenFaceRecognizer()
AttributeError: 'module' object has no attribute 'createEigenFaceRecognizer'

Which cv2 version do I need? I have version 3.4.0 and this error comes out

Error

I'm getting error at self.model.train

Pl help

C:\Users\Eric\PycharmProjects\facenet\venv\Scripts\python.exe "D:/imp r & d trials/Face recognition/Face Recognition2/face_train_fisher.py"
Traceback (most recent call last):
File "D:/imp r & d trials/Face recognition/Face Recognition2/face_train_fisher.py", line 114, in
trainer = TrainFisherFaces()
File "D:/imp r & d trials/Face recognition/Face Recognition2/face_train_fisher.py", line 18, in init
os.mkdir(self.path)
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'D:/imp r & d trials/Face recognition/Face Recognition2/face_train_fisher.py'

Process finished with exit code 1

error while running face_recog_eigen.py

OpenCV Error: Unspecified error (File can't be opened for writing!) in load, file /build/opencv-ISmtkH/opencv-2.4.9.1+dfsg/modules/contrib/src/facerec.cpp, line 325
Traceback (most recent call last):
File "face_recog_eigen.py", line 76, in
recognizer.load_trained_data()
File "face_recog_eigen.py", line 24, in load_trained_data
self.model.load('eigen_trained_data.xml')
cv2.error: /build/opencv-ISmtkH/opencv-2.4.9.1+dfsg/modules/contrib/src/facerec.cpp:325: error: (-2) File can't be opened for writing! in function load

why is this error
help me out to sort it out

Face FaceRecognition

This is not get exact response.

when will be face detect from camera this is "confidence = self.model.predict(face_resized)"
and "person=self.names[confidence[0]]" . person name is different.
i.e I front of camera (my name is rohit, I have face_data folder and also train data as 'rohit, vishal, pradeep etc) and face recognition person name is pradeep.

Can you give me some suggestion ?

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.