Social_Distancing_with_AI
Social_Distancing_with_AI copied to clipboard
Total number of detected masked, unmasked, etc?
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 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.