Formula to calculate zoom of PTZ camera model Q6135-LE #579
-
Hello everyone, i have met a trouble with calculating zoom size of camera. I am detecting object from streams of camera PTZ model Q6135-LE, but when i detected i have got x_center and y_center points of that object, but i don't know how to use camera to zoom with size fitting same as size of object, although i can take camera to focus correctly into this object in center point of camera with API: http://{device}/axis-cgi/com/ptz.cgi?center=x,y with x,y. However, i cannot be able to calculate zoom size accurately. Please help me solve this problem. Thanks u |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
I think you should also get the object size then compare to the whole image size, you should have a brief ratio of zoom, then use the areazoom |
Beta Was this translation helpful? Give feedback.
I think you should also get the object size then compare to the whole image size, you should have a brief ratio of zoom, then use the areazoom
https://www.axis.com/vapix-library/subjects/T10175981/section/t10036011/display?section=t10036011-t10004639