NVIDIA Detection Speed #2869
Unanswered
lockkp1
asked this question in
Ask A Question
Replies: 1 comment 4 replies
-
|
Frigate doesn't support using a GPU for object detection at all yet, so I think everything will be worse. Interesting to know that the M1 struggles to maintain low inference speeds when CPU usage goes up from other processes. I don't see that with a Coral. Are you using a Coral on the Mac mini? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Was just curious how Frigate object detection worked in general and wondering if switching to a GPU system would change anything for me. So currently running Frigate on an M1 Mac mini using docker. Getting inference speeds of 10ms on average with 640x480, at 5FPS, 7 cameras in total. If there is heavy motion on multiple cameras at once it can reach inference speeds of 150ms for a brief moment but mostly hovers from the 20-50ms. For anyone curious I tried upping the resolution to 720p, 5FPS, on just 1 camera while keeping the other 6 constant at 640x480, and it struggles. Inference speed goes to 60-200ms.
My issue with the current setup though is that I find object detection to be a bit slow so I wasn't sure if this was a M1 limitation with decoding FFMPEG? I'm mainly using it for presence and motion detection, so tracking people and activating lights via motion. When I watch some of the events with what I would consider very ideal conditions for the camera, (sunny environment, with a very clear object), confirmation for a person via MQTT can at times be quite slow, 3-5 seconds later and it will send an MQTT person motion message, but sometimes the person has already passed. I thought maybe it was issues with certain cameras (POE HIKVISION cameras), however the same cameras will at other times have quick detection. Its just not stable some events are fast and others are slow. I even adjusted the motion threshold to 15 and then 10, but the M1 really struggles when I do that, inference jumps to 20ms+ for steady, and then when motion is detected averages at 150-200ms.
I was wondering then if I switched to an amd64 with GPU would I see any difference? I've got a 1070 GPU lying around but no CPU yet, so I'm just curious if a GPU system equipped with a coral would detect a person quicker? Also would it breeze through higher resolutions?
Beta Was this translation helpful? Give feedback.
All reactions