[Camera Support]: Dahua DH-IPC-HDW2531EMP-AS-S2 autotracking #15166
Replies: 5 comments 12 replies
-
Calibration is designed to help with scenarios like this, so you should definitely be running with The amount of time it takes to zoom is not part of this calculation though, which is a little problematic in your case because your initial zoom takes a fair amount of time. There are a few things you can do to help this. You'll want to set up Frigate to track a person and have autotracking lock on to it sooner. This could mean things like moving your zone to trigger autotracking closer to the edge of the frame or changing your As for objects close to the camera, there's really not a lot that can be done to improve it because an object is moving very quickly across the frame relative to an object that is further away. There is too much lag when sending ONVIF movement commands to the camera. This is why Frigate's autotracking will never be able to perform well for objects close to the frame like autotracking implemented in a camera's firmware. |
Beta Was this translation helpful? Give feedback.
-
I should also note that relative zooming has moved the pan/tilt and zoom motor together on the PTZs I have tested as I was writing the autotracking code. In your example, it does look like the firmware is moving them individually. The ONVIF standard sets no condition that they must move simultaneously, so I suppose this is just firmware-specific. |
Beta Was this translation helpful? Give feedback.
-
As far as the
Those bogus values will almost certainly cause issues when autotracking, so I'd uncomment the 2nd or 3rd one and go with that. |
Beta Was this translation helpful? Give feedback.
-
Hey thanks for getting back so quickly. I've re-calibrated and have this now:
My zoning setup for the camera is currently this: Here's a clip of the close up movement before adding the weights. |
Beta Was this translation helpful? Give feedback.
-
There's a bit of weirdness still with some of the movements. Not sure why it swung down to the car. Is there any option to include the debug bounding boxes in a recording? front.mp4 |
Beta Was this translation helpful? Give feedback.
-
Describe the problem you are having
Hi, I have a Dahua DH-IPC-HDW2531EMP-AS-S2 PTZ camera and have a mostly working autotracking setup. I have noticed though that often the tracker will detect a person, pan/tilt and then zoom to them and in the time it takes to zoom, the person moves out of frame and the tracker loses them. I have relative zooming enabled but it seems like it's doing a separate zoom movement. I've tried changing the zoom_factor and can't say that it made a noticeable difference. The video attached shows the behaviour.
The other issue is that the tracker often over-corrects on close objects and moves them out of frame, and then loses them. I've tried with and without movement weights and I can't say I've noticed it being any better. This happens mostly with people walking by a path at the bottom of frame, which is probably 5m away from the camera.
Version
0.15.0-33825f6
What browser(s) are you using?
No response
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Frigate stats
No response
Operating system
Other Linux
Install method
Docker Compose
Object Detector
OpenVino
Network connection
Wired
Camera make and model
Dahua DH-IPC-HDW2531EMP-AS-S2
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
front_ptz_r367gy.mp4
Beta Was this translation helpful? Give feedback.
All reactions