pyOSCapi

Python API to interact with network devices using the Open Spherical Camera API


Keywords
Open, Spherical, Camera, API
License
Apache-2.0
Install
pip install pyOSCapi==0.2

Documentation

pyOSCapi

Python API to interact with network devices using the Open Spherical Camera API.

Install

To install, execute:

pip install pyOSCapi

Documentation

Connect

>>> from pyOSCapi import OSCAPI as OSC
>>> cam = OSC(ip="192.168.0.100", port="80")
>>> cam.connect()

The settings to connect differ from manufacturer to manufacturer:

  • Bublcam cam = OSC(ip="192.168.0.100", port="80")
  • RICO THETA cam = OSC(ip="192.168.1.1", port="80")

Do Stuff

>>> cam.info()

Close Connection

>>> cam.disconnect()

Run tests

$ python setup.py nosetests

License

Copyright 2015 - 2016 Florian Lehner

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0