-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in TKinter callback #6
Comments
I made changes in that train.py file you can check out from pull request else check out forked repo in my profile and now it's working fine. |
Key Error: 'Id' |
error is coming while tracking an image. what have to do now? |
well, this kind of error does not appear when i am running and still if you have a problem with this then you can check out my repository i made some changes in it. and now its work very fine. |
I checked your repository also but still same problem is coming.. |
then it's weird bcoz I test it then upload it. so installed all the latest version of a module then try it on python 3 |
i am getting the same error i didnt because i already have all the modules required in train.py |
nope, it is not necessary you can directly run by running train.py file |
showing unknown to every tracked image? |
WORKING!!!!!. -- instead of saving a new csv file for each timestamp, it will be better to have a single csv file for each day (eg: Attendace_01_04_2019) and append the recognized faces id and names in the csv file . Disadvantage of current project: creating multiple csv files every time you run. |
I'm glad to know finally its working and yes you can change it to same csv file all you need to store the first created csv file name and append newly created data into it... |
maybe it is not passing the if() condition you have just changed. did you try this forked repo? give this a try and see if it works. it worked for me |
not working.......window is stucking and the following error is showing though I have installed all the moduls which r required Exception in Tkinter callback |
Not Working. |
replace cv2.face.LBPHFaceRecognizer_create() with cv2.createLBPHFaceRecognizer() and test it again |
u are missing components of Opencv. then run the code again. Also, you can try the workaround mentioned by mayurkadampro too. |
i'm sorry,, i still facing this error. where changes u talk about? please make it clear. thank u |
Exception in Tkinter callback |
Exception in Tkinter callback The above exception was the direct cause of the following exception: Traceback (most recent call last): please help me with this one too. |
Been stuck at this point. please help me out from this
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\divya\AppData\Local\Programs\Python\Python37-32\lib\tkinter_init_.py", line 1702, in call
return self.func(*args)
File "train.py", line 161, in TrainImages
recognizer = cv2.face_LBPHFaceRecognizer.create()#recognizer = cv2.face.LBPHFaceRecognizer_create()#$cv2.createLBPHFaceRecognizer()
AttributeError: module 'cv2.cv2' has no attribute 'face_LBPHFaceRecognizer'
The text was updated successfully, but these errors were encountered: