Replies: 1 comment 4 replies
-
I believe you and I have discussed this before, but this would be too slow. Frigate runs object detection in real time on every frame where motion or an active object is detected, not on collections of frames after the fact. This is part of how frigate actively tracks objects in real time, which is fundamentally different to how many other NVR object detection implementations work.
we have put a framework in place and have already implemented some post processors for face recognition and ALPR for Frigate 0.16. |
Beta Was this translation helpful? Give feedback.
-
I'll start this by saying I was a part of the zoneminder team and am the person that took on the enormous task of creating a new ml system for zoneminder. I am just now starting to seriously explore frigate and have some ideas.
My first idea is something that has been hashed over before; onvif motion/ml events. I won't hash it out here. Suffice it to say, if we could work this stuff in, it would be great.
My 2nd idea is to separate the ml and NVR components. Allowing the ml to be run either locally on the same host as frigate or remotely (on LAN or over Internet). Basically, frigate would either send batch or single images via http/ws/RPC/Unix socket to the ml server, the server processes and returns data in a reply and frigate can then process the objects. Can also add HA/load balancing if more than 1 remote ml server is configured
My 3rd idea is to allow multiple detectors per camera. Send a request with the images and a list of model names/uuids. Frigate parses the responses. This would allow things like "if yolov8x sees a person, only alert if the yolo-nas-l model also sees a person in approx same place/zone".
These are things I implemented in zm ml stack and so very desperately want to see in frigate. With multi modal cameras, you could run object detection, face recognition, alpr all on the same event. The fast API ml server can keep models loaded in memory to keep things fast, etc.
This is just a basic idea, can expand and get into details if there is interest in it.
Is this something that sound interesting? Please let me know your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions