Detection is inconsistent when loop testing #1407
Replies: 4 comments 3 replies
-
|
If the resolution/fps of the test camera file matches, I would expect it to perform similarly. Not everything is exactly the same, but it should be about as reliable. I would suggest watching the test camera in debug view. Do you see motion boxes? Do you see regions around the motion boxes? Are bounding boxes detected in that region? |
Beta Was this translation helpful? Give feedback.
-
|
Could the fact that it's a loop throw it off a bit, or introduce enough variation that it doesn't detect consistently? Maybe you could freeze the first frame for some 10 seconds at the start of the loop to try and give it a dead moment? |
Beta Was this translation helpful? Give feedback.
-
|
Default threshold is .7 and your Events screenshot shows the score, 70.70%, is very close to it. Lowering the threshold should get better detection. I don't know why it would be sporadic though. |
Beta Was this translation helpful? Give feedback.
-
|
Id love to see the ability to set up a motion/AI test based on a segment of recorded video included in the UI. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been fine tuning the detection for one of my cameras and am running into issues with repeatability / consistency. I took a clip from my 24/7 recording that didn't detect last night (same stream is used for detection), and set it up as a test camera. The mask, zones, motion, etc... are all setup just as they are on the physical camera (listed below). The issue that I'm having is that this 60sec clip is not consistently being detected. Sometimes, it'll detect every minute or two, sometimes it will take 5-15min. The stream from the camera (Reolink RLC-810A) is 20fps rtmp ( it's the ext sub-stream that can't be configured) and configured for 10fps in Frigate. I've tested with it configured for 20fps as well and still experience issues. Example of what I'm seeing and setup / camera / stats data below. Any ideas as to why this is happening? I'm thinking it may have something to do with how Frigate chunks everything up into 60sec clips? Does this happen for detection as well?
Setup:
Dell T420 - 2x E5-2450L - 64GB RAM
Proxmox 7.0
Ubuntu 20.04 VM (32GB RAM, 8 CPUs)
Frigate 0.8.4-5043040 in Docker
Coral Mini PCIe
Camera config:
Stats:
{ "detection_fps": 7.0, "detectors": { "coral_pci": { "detection_start": 0.0, "inference_speed": 9.86, "pid": 43 } }, "driveway": { "camera_fps": 5.1, "capture_pid": 58, "detection_fps": 0.0, "pid": 50, "process_fps": 5.1, "skipped_fps": 0.0 }, "front_porch": { "camera_fps": 5.1, "capture_pid": 62, "detection_fps": 0.0, "pid": 51, "process_fps": 5.1, "skipped_fps": 0.0 }, "living_room": { "camera_fps": 5.1, "capture_pid": 68, "detection_fps": 0.0, "pid": 53, "process_fps": 0.0, "skipped_fps": 0.0 }, "service": { "storage": { "/dev/shm": { "free": 125.7, "mount_type": "tmpfs", "total": 134.2, "used": 8.5 }, "/media/frigate/clips": { "free": 1057442.4, "mount_type": "zfs", "total": 1930527.2, "used": 873084.9 }, "/media/frigate/recordings": { "free": 1057442.4, "mount_type": "zfs", "total": 1930527.2, "used": 873084.9 }, "/tmp/cache": { "free": 693.4, "mount_type": "tmpfs", "total": 1000.0, "used": 306.6 } }, "uptime": 2970, "version": "0.8.4-5043040" }, "street": { "camera_fps": 5.1, "capture_pid": 55, "detection_fps": 0.0, "pid": 48, "process_fps": 5.1, "skipped_fps": 0.0 }, "test": { "camera_fps": 10.0, "capture_pid": 54, "detection_fps": 7.0, "pid": 46, "process_fps": 10.0, "skipped_fps": 0.0 } }Beta Was this translation helpful? Give feedback.
All reactions