[Config Support]: Perfect person detection on low res but not on higher res #20014
Replies: 1 comment 4 replies
-
|
Based on your configuration, the issue is that your When you increase the detect resolution, the same physical object will have a larger pixel area in the bounding box(2). Your current filters are: person:
min_area: 5000
max_area: 100000For a 640x360 detect stream, these values work well, but when you switch to a higher resolution like 1920x1080, a person that previously had a bounding box of 50,000 pixels might now have 450,000 pixels, exceeding your To fix this for higher resolution detection:
person:
min_area: 45000 # 5000 * 9
max_area: 900000 # 100000 * 9
The area filters can be specified as integers for width×height in pixels or as decimals representing the percentage of the frame(1)(3). Using percentages might be easier when switching between resolutions: person:
min_area: 0.02 # 2% of frame
max_area: 0.43 # 43% of frame📚 Sources:
Have another question? Just tag @inkeep. |
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.
-
Describe the problem you are having
Trying to increase detection on higher resolution for the purpose of better face detection and LPR. On the standard low res it detection a person fine. If I increase to a higher res it hardly ever detection a person, I've tried playing around with the min and max area settings person but this doesn't seem to have any effect. Not sure if I'm missing something really simple but I've been trying to do this on and off for weeks.
Version
16.1
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
Not necessaryOperating system
Proxmox
Install method
Docker Compose
docker-compose file or Docker CLI command
Not necessaryObject Detector
Coral
Screenshots of the Frigate UI's System metrics pages
Not necessary
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions