Face Recognition based Attendance system in Python, OpenCV (Attendance is not written)
I have a small problem. I am trying to make a Face recognition based attendance system, where, the functions, Take Images and Train Images work perfectly fine, but while using the track images function, it recognizes my name, but the attendance is not created as a CSV file.
The full code is here: pastebin.com/ZDAu4zaK
It would be great if you help me :) Thank you.
Ask me if you need anything more.
and now you expect us to remote debug your 251 line paste ? (it probably won't happen)
You should put all in one places like this tkinter > cv2 > mainloop(). Unfortunately, you do like this tkinter > cv2 > tkinter maniloop()...that shouldn't work, will give you more headace..
@Kshitij Jande . Your code is free bugs
why is there even tkinter (or PIL) in it ?
Change this:
to
Do not put after of
cv2.destroyAllWindows()
. It will not work.@berak. My mistaken. I just found troubleshooting. You can see snippet code above.
@supra56, - i don't see any of your snippets here, and my critique was about using a lot of (unneeded 3rd party libs, like: no, this won't require any gui. if you have 50% tkinter code in it to save a csv file, you're putting the cart before the horse. (noobs love to do that)
I am very sorry. It's true that I am a bit of noob to python. This is because I have started learning python in school, this year. Previously I did C/C++, Java, and a bit of Assembly(very little). To all of you, I am VERY VERY sorry for asking these silly questions and wasting your time :(. Once again thank you so much for helping :)
I still need help. I don't want to use this system in any class or something. I have got this project from school, and I am doing this to learn python, and opencv. Not to use this in school in a class. Please help.