Can I get network camera direction?

吃可爱长大的小学妹 提交于 2020-01-06 04:37:15

问题


I am selecting a network camera.

It turned out that the network camera is standardized by ONVIF. In the ONVIF standard, PTZ control gives speed and operating time. I want to get the camera orientation (angle).

Can I get the camera orientation with the ONVIF standard?

Furthermore, I want to change the orientation of the camera by giving an orientation (angle). First of all, is there any camera that can feed back the angle of the camera?


回答1:


I want to get the camera orientation (angle).

You can look at the GetStatus onvif function to get the current position. It doesn't work with all onvif certified cameras for some reason... (I had trouble with Foscam and Amcrest cameras in the past)

https://www.onvif.org/onvif/ver20/imaging/wsdl/imaging.wsdl#op.GetStatus

I want to change the orientation of the camera by giving an orientation (angle).

You can look at the AbsoluteMove onvif function to set the position of your camera to the absolute values (angle) you want.

https://www.onvif.org/onvif/ver20/ptz/wsdl/ptz.wsdl#op.AbsoluteMove

Here's the list of all "available" functionalities of onvif. I say "available" because, just like the earlier GetStatus, some cameras will return you an error when calling them for some reason...

https://www.onvif.org/onvif/ver20/util/operationIndex.html



来源:https://stackoverflow.com/questions/56642348/can-i-get-network-camera-direction

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