Giter VIP home page Giter VIP logo

onvif-ip-camera's Introduction

virtualIPC

使用Python编写的一个虚拟onvif网络摄像机 用于视频监控平台需要接入大量摄像机,进行性能测试的场景 该工具包括两个模块: onvif server 框架和业务应用模块

开发环境

  • Python3.6

onvif server

onvif server模块实现了一个webservice,参考了Python标准库中的simpleXMLRPC模块代码。 相关代码:onvifserver/server.py, 包括三个部分

  1. OnvifServerDispatcher
  2. OnvifServerRequestHandler
  3. OnvifServer

应用模块

使用方法

from virtual_ipc import OnvifIPC

OnvifIPC("192.168.1.9", 8001)

如果要创建批量的虚拟设备, 穿件多个OnvifIPC实例即可:

ip_port_list = [
    ('192.168.1.2', 80),
    ('192.168.1.2', 82),
    ('192.168.1.2', 83),
    ('192.168.1.2', 84),
]
for ip, port in ip_port_list:
    OnvifIPC(ip, port)

onvif-ip-camera's People

Contributors

luckydl avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.