Questions tagged [python-onvif]

Python Client for ONVIF Camera (ONVIF Client Implementation in Python)

This project implement an ONVIF client based on suds.

The source code is available from github python-onvif, and the python package is available from pypi onvif.

28 questions
4
votes
1 answer

Python-ONVIF PTZ control -- Absolute and Relative Move

I am developing an application in Python to control ONVIF-compatible cameras. Software: Debian Wheezy, Python 2.7, Quatanium python-onvif client Hardware: Raspberry Pi 2 B, IP camera on local router, wifi/VNC for development The required PTZ…
Ron Olch
  • 41
  • 1
  • 1
  • 5
3
votes
1 answer

onvif.exceptions.ONVIFError: Unknown error: No such file: /etc/onvif/wsdl/devicemgmt.wsdl

I have bought a V380 ip camera avaiable at https://www.daraz.pk/products/i1977066-s1481128974.html?urlFlag=true&mp=1 . I am trying to implement onvif client in Python. When I run the following code from onvif import ONVIFCamera mycam =…
3
votes
0 answers

Python ONVIF Camera

I'm trying to use Python ONVIF to control PTZ camera, I checked some examples from github and configured them into my camera IP address. This is the example that I use: import cv2 import sys import threading from sensecam_control import…
3
votes
1 answer

How to get Onvif Media Profile Token on Python

I've been trying to request a Onvif Snapshot but the GetSnapshotUri() function takes a "Profile Token" as argument. I've called the function GetProfiles() and it's result is a list of profiles and one of them has a _token = "MediaProfile000". If I…
Luiz Silva
  • 31
  • 1
  • 4
2
votes
1 answer

Send VISCA commands to IPcamera using python-onvif-zeep or valkka and sendreceiveserialcommand service from DeviceIO

The problem I have recently acquired an Active Silicon IP-camera and I have been trying to control it using python-onvif-zeep or valkka. The camera implements the ONVIF Profile S standard. I would like to send zoom in / our, focus and other basic…
ekptwtos
  • 101
  • 2
  • 11
2
votes
0 answers

WSDiscovery with specific port

I'm using python WSDiscovery to discover cameras on my network, using Onvif. It used to work great. Problem is that the new camera I have has onvif on different port (8899) and I cannot change it. I was able to detect camera using onvif-audit.js…
przemoch
  • 311
  • 1
  • 10
2
votes
0 answers

Get Onvif events with Python from IP camera

I have an IP camera that sends motion events. With the Onvif Device Manager I can also see these events. However, I am failing to get these events with a Python script. Starting point is the Github project:…
MisterGray
  • 329
  • 3
  • 15
2
votes
0 answers

Python Onvif control

I made everything to manipulate ptz with python I wasn't sure about focus in/out. Onvif homepage, it seems like it's shown as focus move. I don't know what value to get and edit, so I'll upload it. And even when adjusting the iris (aperture) value,…
hyjeong
  • 21
  • 2
2
votes
1 answer

Disabled IP PTZ camera auto focus using python-onvif-zeep

My PTZ camera auto focus and adjust images on pan-tilt-zoom and on some object appear in camera. I want to disabled those features. I'm using python-onvif-zeep library https://github.com/FalkTannhaeuser/python-onvif-zeep.git The operation guide of…
ChickenSoups
  • 937
  • 8
  • 18
2
votes
2 answers

Set date and time in Hikvision camera from bash or REST?

How can I set date and time in a hikvision camera from linux command line? Or from some language, like Python, PHP, etc... I have a computer connected to cameras, and I want to change date and time in cameras without access to browser, only from…
Rui Martins
  • 3,337
  • 5
  • 35
  • 40
2
votes
1 answer

ONVIF Camera change snapshot resolution (getSnaphotUri)

I'm using python-onvif to find the URI of my camera to get a static snapshot. And it works fine, I can get the snapshot. But the resolution is not at the 'full' 720 which my camera can acheive. And does get when streaming. The snapshot is only…
Nertskull
  • 491
  • 6
  • 20
1
vote
0 answers

Find Recording from nvr using onvif within specific time

we are using Dahua NVR and we stream live cameras through it. As Dahua stores the recordings in somewhere we want to access the past recordings (of specific time). The code I mentioned gives the whole saved recording of NVR. But as I said I want…
1
vote
1 answer

Python CV2 reads out-of-date frames from video stream

I am using Python 3.9 and Open-CV (cv2) to read frames from a video stream and save them as JPGs. My program seems to run OK. It captures the video stream fine, obtains frames, and saves them as JPGs. However, the frames it is obtaining from the…
Graeme
  • 43
  • 1
  • 8
1
vote
1 answer

How to get Metadata in python ONVIF?

Currently, I'm looking for metadata access functions using the in Python-onvif. I want to get the coordinates of "BoundingBox" inside the red box. How to i access…
Oh Jongjin
  • 11
  • 4
1
vote
0 answers

Unable to discovring Camera with different 3rd Octet part of IP

I'm looking for discovering the IP cameras that are connected to my network. I found a tool in the following link https://github.com/andreikop/python-ws-discovery when I'm using it with the following commands I can not find one of my cameras which…
1
2