Social_Distancing_with_AI icon indicating copy to clipboard operation
Social_Distancing_with_AI copied to clipboard

Total number of detected masked, unmasked, etc?

Open dascar5 opened this issue 2 years ago • 2 comments

Hello. This isn't an issue, more like a feature request? Could you tell me how would I add the counters for up above? I could try messing with the code, but it runs on my CPU which is horribly slow, thus it would take a long time to get what I want by trial and error. Right now, I extracted like 20 frames of a video I'm interested in, and I'd find it cool if it could give me an average, or a total count, of people with masks, not social distancing, etc...

dascar5 avatar Mar 07 '22 20:03 dascar5

@dascar5 It's already there, it's being put in the output as well. Take a look at these variables: person_count, masked_face_count, unmasked_face_count, safe_count, unsafe_count. I know it's slow, a lot of optimization is possible.

rohanrao619 avatar Mar 30 '22 13:03 rohanrao619