WS-Discovery and Simple ONVIF camera client library.
- WsDiscoveryClientクラスの使用例
from onvif import WsDiscoveryClient wsd_client = WsDiscoveryClient() nvts = wsd_client.search() for nvt in nvts: print(nvt) wsd_client.dispose()
- OnvifClientクラスの使用例
from onvif import OnvifClient onvif_client = OnvifClient('192.168.0.10', 80, 'user', 'password') profile_tokens = onvif_client.get_profile_tokens() for profile_token in profile_tokens: print(profile_token)
- Python >= 3.9
- WSDiscovery >= 2.0.0
- onvif2-zeep >= 0.3.4
$ pip install onvif-client
バグ等はIssuesで報告してください