Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zoom speed should depend on offset of target #28

Open
maiermic opened this issue Apr 20, 2022 · 1 comment
Open

zoom speed should depend on offset of target #28

maiermic opened this issue Apr 20, 2022 · 1 comment

Comments

@maiermic
Copy link
Owner

If the target is in the center, it is safe to zoom in fast. However, if the target is far from the center (e.g. near the left edge of the camera image), the target might be lost if the camera zooms in too much, before the camera rotated/tilted enough to catch up with the target.

It is less likely that the target is lost if the camera zooms in more slowly, because then there is more time to rotate/tilt. It might be even better/safer to do not zoom at all if the target is near the edge of the camera image and wait to zoom till the target is closer to the center. However, the target might also be lost if it gets too small (is too far away) for object detection to work (reliable). Hence, the threshold to start zooming should maybe also depend on the target size (in the image), i.e. if the target is smaller, the target may be further away from the center to (still) zoom in.

On the other hand, the camera should zoom out faster if the target is far from the center.

maiermic pushed a commit that referenced this issue May 9, 2022
…en aligned

See issue #28 "zoom speed should depend on offset of target"
@maiermic
Copy link
Owner Author

maiermic commented May 9, 2022

Several zoom-in modes have been added. The used zoom-in mode is currently hard coded. Users should be able to select a mode in the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant