AMC SDK automatic zoom instead of manual #773
-
Hello, I am developing a streaming application in C# and using an AXIS F2135-RE Fisheye Sensor connected to an AXIS F9114 Main Unit. I am trying to apply the dewarping effect to an RTSP stream, and I noticed that to see the actual effects, I have to zoom with the mouse wheel on the video view control after setting the AMC engine as follows:
What I’m trying to achieve is, as soon as the live stream starts, I would like the feed to zoom in on the center of the view to obtain the dewarped frames without having to manually go to the center of the panel and zoom. Currently, I have simulated the mouse event so that after the stream starts, it moves automatically to the center of the view and simulates the mouse wheel scroll. However, this method is not very efficient and often does not work. I would like to understand if it is possible to access some method or set some parameter to automatically set this zoom parameter. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
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.
-
Hi @simonebarattin , http://{camera_ip}:80/axis-cgi/lensparams/getradialdistortionparams.cgi?schemaversion=1 These value you can try with DewarpLensProfile from AXIS Media Control SDK or AXIS Dewarping SDK I don't have the setup to verify if [0.02122631, 0.01222815, 0.23668515] are correct values. |
Beta Was this translation helpful? Give feedback.
Hi @simonebarattin ,
Unfortunately, it's not possible to start "zoomed in" the way you want. If you want more control over the dewarping you can build a solution with the Dewarping SDK using e.g AMP SDK like it is done in the sample code in the Axis Dewarping SDK.
I will try to find the lens params for AXIS F2135-RE Fisheye Sensor connected to an AXIS F9114 Main Unit.