Closed haimgel closed 10 months ago
This is working as expected and was changed in 0.13, where in the 0.13 docs does it say it defaults to 1280x720?
Got it, thank you for your response. This is mentioned in the "new" Frigate Configuration Reference:
detect:
# Optional: width of the frame for the input with the detect role (default: shown below)
width: 1280
# Optional: height of the frame for the input with the detect role (default: shown below)
height: 720
Also: I think this is a breaking change and needs to be mentioned in the release notes, in the "Breaking Changes" section.
Indeed, it's a breaking change. Personally, I decided to update all my coordinates to the native resolution. I used ChatGPT to teach it to upscale or downscale from 1280x720 to AxB and it worked very efficiently. I updated dozens of masks and zones in 10 minutes. Hopefully, @NickM-27 said that the ultimate goal is to have relative coordinates.
Describe the problem you are having
The "detect" resolution seems to default to the original camera stream resolution, and not to 1280x720 as written in the docs. I saw that the zone coordinates were all wrong in the "debug" screen, and the zones events seemed not to trigger as expected. As soon as I added
the zone boundaries were shown correctly again, and the detection seems to work fine as well.
Version
0.13.0-65e3e67
Frigate config file
Relevant log output
Frigate stats
Operating system
Other
Install method
Docker CLI
Coral version
CPU (no coral)
Any other information that may be helpful
No response