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 does not work #109

Open
LighthouseMedia opened this issue Aug 18, 2022 · 1 comment
Open

Zoom does not work #109

LighthouseMedia opened this issue Aug 18, 2022 · 1 comment

Comments

@LighthouseMedia
Copy link

Using a ptz face tracker filter, on a fomako IP Camera, the camera will not stop zooming. I have tried adjusting every variable, the only way i can get it go go back is to invert controls.

@norihiro
Copy link
Owner

Thank you for considering to use this plugin.

When you enable Debugging/Show face detection results and Debugging/Always show information, you will see green box and yellow graticule. The green box indicates location and size of the detected face. Yellow graticule shows the target size the filter will zoom to.

If the yellow graticule is much bigger than the detected face, consider setting small number to Tracking target location/Zoom. Currently 0.10 is the minimum.

If the green box is not following the face enough, please consider setting Face detection options/Scale image to 1.00 instead of 2.00. This will increase CPU usage but can detect smaller face.

If you don't need to control zoom, I suggest to set Max control (zoom) to 0 so that this plugin never controls zoom.
I checked your YouTube video. The location of the camera looks not necessary to control zoom since the pastor does not move forward and backward.

If the size of the green box keeps changing though the position is correct, and if you want to control zoom as well, I recommend to add face landmark detection.
For non-commercial purpose, this data would be useful. https://github.com/davisking/dlib-models#shape_predictor_68_face_landmarksdatbz2. Please check license of the data meet the usage.

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

2 participants