How to stop - Shadow Detection #20816
Replies: 2 comments
-
|
To reduce false positives from shadow detections, you can adjust several object filter settings in your Frigate configuration:(1) 1. Increase the threshold value The objects:
filters:
rabbit:
threshold: 0.852. Increase min_score The objects:
filters:
rabbit:
min_score: 0.73. Adjust object area filters Use objects:
filters:
rabbit:
min_area: 1000
max_area: 500004. Tune motion detection Adjust the motion motion:
threshold: 35Increase the motion:
contour_area: 305. Use motion masks Create motion masks to exclude areas where shadows regularly appear.(2) This prevents motion detection from triggering in those regions:(2) motion:
mask:
- 0,0,100,0,100,100,0,100The best approach is to start by increasing the 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
The AI's response is what I would suggest, but this will be a little tougher until you can train more true positives and the base model improves. You'll want to aim for a ratio of 80/20 of true to false positives. |
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.
-
Any suggestions on how to reduce these false positives ? I've trained them as "NO" but I'm thinking there should be some other way to reduce them whether it's the percent match - or maybe a movement threshold? I'm not sure.
Beta Was this translation helpful? Give feedback.
All reactions