Skip to content
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

Attendance csv is empty #3

Open
usama7628674 opened this issue Jul 11, 2021 · 6 comments
Open

Attendance csv is empty #3

usama7628674 opened this issue Jul 11, 2021 · 6 comments

Comments

@usama7628674
Copy link

image

This is after pressing q for recoginse & attendance

@shumbul
Copy link
Owner

shumbul commented Jul 11, 2021

Hey @usama7628674, can you please try printing some of the variables inside the recognize_attendance function?
By doing that we can check if the faces are actually getting captured by your camera or not.

This is a reference for you to get familiar with the main library we are using for this function.

@usama7628674
Copy link
Author

I've tried printing attendance variable and this is what I get
image

Let me know what variables you want me to print

@usama7628674
Copy link
Author

Face is detecting fine with confidence level around 20%. The bounding rectangle is also there with my id and name.

@usama7628674
Copy link
Author

Also it is giving false results as well. I've trained it on my face and my brother's face. I brought third person and it is detecting that unknown person as my face and putting my name and id above rectangle.

@shumbul
Copy link
Owner

shumbul commented Jul 12, 2021

Hey, it's eventually a Machine Learning based model. The more trained it is, the better result it gives. Try debugging the issue if possible, I'll look into it too ASAP.

@usama7628674
Copy link
Author

The model is trained on around 102 images. How many images do you think would be enough to minimize false detections?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants