onvif

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

Unable to connect to OnVif enabled camera using C#

一世执手 提交于 2020-01-02 07:36:33
问题 I am working with IPCams for the first time and I am trying to connect to an OnVif camera. I have looked on various forums and stack overflow and I have come up with the following code.I know the code doesn't do anything useful but it is just a proof of concept for now. It finds all 4 cameras on my network and then I am manually connecting to one of them to pull back some information such as GetServices . I get a 400 bad response error at this stage. I have looked at the traffic back and

ONVIF Authentication in .NET 4.0 with Visual Studios 2010

为君一笑 提交于 2019-12-28 11:46:38
问题 My task is to try to establish a communication with a ONVIF camera in the building to, eventually, upgrade the company's domotic solution to automatically recognize ONVIF cameras and to be able to set them up and to use their services. I am already able to gather some basic informations like its model, its MAC address and its firmware version this way: EndpointAddress endPointAddress = new EndpointAddress("<mycameraurl:<mycameraport>/onvif/device_service"); CustomBinding bind = new

C# Bitmap LockBits/UnlockBits in multi-thread

冷暖自知 提交于 2019-12-25 04:19:30
问题 I am working on a CCTV project which employs ONVIF. I use a Winform sample, which is provided by "ONVIF Device Manager" project, to obtain video frames from a camera. (You can find it here). I found that the sample put a CopyMemory() block code inside UI thread by using dispatcher.BeginInvoke(). I would slow down main UI thread because this block is repeated to display images in a PictureBox. void InitPlayback(VideoBuffer videoBuffer, bool isInitial) { //.... var renderingTask = Task.Factory

Using --digest option for 'digest authentication' with curl in linux

99封情书 提交于 2019-12-23 17:15:33
问题 I am trying to change the date of an Onvif based camera using curl in linux. I have already succeded doing it in c# and using digest authentication, but I am stuck in this case. I am using the following command: curl -u "admin:admin" --digest http://10.104.37.1:80/onvif/device_service --data '<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SetSystemDateAndTime xmlns="http:

Generate Java webservice based on ONVIF wsdl (Top Down Method)

瘦欲@ 提交于 2019-12-23 11:59:36
问题 I want to generate server code for a device like Camera. There is a standard protocol for these device called ONVIF which publish some popular WSDL documents. So I must generate an interface and skelton from ONFIV's WSDL documents. When I use wsdl2java to generate server code from ONVIF wsdl file, it says: org.apache.axis2.AxisFault: No services found in the WSDL at https://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl with targetnamespace http://www.onvif.org/ver10/device/wsdl Is

How to fix opencv python cv2.VideoCapture rtsp onvif “nonmatching transport in server reply” error?

做~自己de王妃 提交于 2019-12-21 05:11:12
问题 I'm on windows using python 3.6.4, installed opencv (3.4) through pip. Here's the code I'm using: import numpy as np import cv2 cap = cv2.VideoCapture('rtsp://192.168.15.116:554/onvif1') while(cap.isOpened()): ret, frame = cap.read() gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) cv2.imshow('frame',gray) if cv2.waitKey(1) & 0xFF == ord('q'): break cap.release() cv2.destroyAllWindows() I'm getting the following error: [rtsp @ 03858a40] Nonmatching transport in server reply warning: Error

Build Soap web service client using wsdl documents in Eclipse

泪湿孤枕 提交于 2019-12-21 02:52:05
问题 I need to create web service client in Java using Eclipse the consumes the onvif wsdl. I spent several hours without finding a how to do that, this the first time I am using soap, my experience was in REST. I tried many tutorials like this to create web service client, but when I am trying to choose the wsdl file from my local disk, eclipse shows the an error Could not retrieve the WSDL file ... , the link structure I used for the file was file:/C:/ONVIF/media.wsdl . I need to use any Java

Build Soap web service client using wsdl documents in Eclipse

自闭症网瘾萝莉.ら 提交于 2019-12-21 02:52:00
问题 I need to create web service client in Java using Eclipse the consumes the onvif wsdl. I spent several hours without finding a how to do that, this the first time I am using soap, my experience was in REST. I tried many tutorials like this to create web service client, but when I am trying to choose the wsdl file from my local disk, eclipse shows the an error Could not retrieve the WSDL file ... , the link structure I used for the file was file:/C:/ONVIF/media.wsdl . I need to use any Java

Onvif - trying to understand how it works

倾然丶 夕夏残阳落幕 提交于 2019-12-20 14:15:51
问题 First of all, I have no experience in working with ONVIF at all. I got myself a scholarship at a company and was asked to work with it (to control some cameras and get photos from them), but they don't know how it works either, so no-one can help me much... I was reading through the specifications available at the ONVIF webpage but I don't really get it. I know I have to use SOAP, C (I was asked to do the app in C), XML and web services. That much I understand but I don't know how am I