Smart-Attendance-System icon indicating copy to clipboard operation
Smart-Attendance-System copied to clipboard

Attendance csv is empty

Open usama7628674 opened this issue 3 years ago • 6 comments

image

This is after pressing q for recoginse & attendance

usama7628674 avatar Jul 11 '21 09:07 usama7628674

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.

shumbul avatar Jul 11 '21 10:07 shumbul

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

Let me know what variables you want me to print

usama7628674 avatar Jul 11 '21 13:07 usama7628674

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

usama7628674 avatar Jul 11 '21 14:07 usama7628674

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.

usama7628674 avatar Jul 11 '21 14:07 usama7628674

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.

shumbul avatar Jul 12 '21 05:07 shumbul

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

usama7628674 avatar Jul 12 '21 06:07 usama7628674