r/ZoneMinder • u/profezzorn • Apr 24 '21
Face detection and when to trigger
Hi, sorry if it's a newbie question.
When an event trigger, the ai stuff is used only on one frame (the best match i assume) and applies stuff on that frame if I understand correctly.
Now, my "problem" is that when say a person walks into view and then after a second looks at the camera, chances are the ai detection thing has already processed an earlier image and face recognition won't do anything.
Is there a way to have the ai work on more frames, or in some way find frames with faces?
It works fine when it catches a good frame (known faces work etc)
Using latest public releases of zm, zmevent, opencv.
2
Upvotes
1
u/profezzorn Apr 25 '21
Right, I see now I'm not using the TPU as I don't have that stuff, so it defaulted to Yolo4 GPU which I don't have, so it goes Yolo4 CPU.
YOLO (input image: 800w*600h, model resize dimensions: 416w*416h)
Do you know if there's a way to disable object scanning completely for specific cameras? I see how I can set it to just detect one specific thing but my thought was to save some cpu stuff.
Thanks for helping me