我可以获取网络摄像机的方向吗? [英] Can I get network camera direction?

查看:190
本文介绍了我可以获取网络摄像机的方向吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在选择网络摄像机.

I am selecting a network camera.

事实证明,网络摄像机已通过ONVIF进行了标准化. 在ONVIF标准中,PTZ控制可提供速度和运行时间. 我想获取相机方向(角度).

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).

我可以使用ONVIF标准获取相机方向吗?

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?

推荐答案

我想获取相机的方向(角度).

I want to get the camera orientation (angle).

您可以查看GetStatus onvif函数以获取当前位置.由于某种原因,它不能与所有经onvif认证的相机一起使用...(过去我遇到过Foscam和Amcrest相机的麻烦)

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).

您可以查看AbsoluteMove onvif函数,将相机的位置设置为所需的绝对值(角度).

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

这是onvif的所有可用"功能的列表.我说可用"是因为,就像早期的GetStatus一样,某些摄像机由于某种原因在调用它们时会向您返回错误...

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

这篇关于我可以获取网络摄像机的方向吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆