PTZ for Onvif IP Camera

久未见 提交于 2021-02-08 08:10:55

问题


I have an application running on Android to connect and view the IP Camera. Now I'm trying to add PTZ support to application.

Below are the requirements for PTZ.

1) When user drags the screen to any coordinates on the application, IP Camera should move(pan/tilt) accordingly.

2) When user zoom in/out on the particular area of the application, IP Camera should zoom that area.

Problems I'm facing are.

1) I'm not able to map the x,y coordinates of the user action to Onvif pan/tilt vector. Because Onvif pan/tilt vector X and Y value range is -1 to 1 and I don't know how to cover overall area of IP Camera(360degree horizontal 70degree vertical)

2) How to zoom in/out particular area since Onvif zoom vector does not provide way to specify the area(X and Y coordinates to zoom).

来源:https://stackoverflow.com/questions/50565359/ptz-for-onvif-ip-camera

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!