Git Product home page Git Product logo

pymba's Introduction

Pymba

Pymba is a Python wrapper for Allied Vision's Vimba C API. It wraps the Vimba C library file included in the Vimba installation to provide a simple Python interface for Allied Vision cameras. It currently supports most of the functionality provided by Vimba.

Installation

Installing Vimba SDK

For Windows:

  • Download and launch the Vimba SDK installer:
    • Select "Custom Selection".
    • Select (at least) the following options:
      • A transport layer that matches your hardware (e.g. "Vimba USB Transport Layer" for USB cameras):
        • Core components.
        • Register GenICam Path variable.
      • Vimba SDK:
        • Core components.
        • Register environment variables.
        • C API runtime components.
        • C API development components.
        • Driver Installer.
        • Vimba Viewer.
  • Run VimbaDriverInstaller.exe and install the relevant driver.
  • Test the driver installation by running VimbaViewer.exe.

For other OS's see Vimba's download page.

Installing Pymba

For Python 3 install Pymba via PIP.

pip install pymba

For Python 2 and for backwards compatibility with older versions of Pymba use the python2 branch.

Testing installation

If Vimba and Pymba are installed correctly, then the following code should give the installed Vimba version. No camera is needed.

from pymba import Vimba, PYMBA_VERSION

print(PYMBA_VERSION)
print(Vimba.version())

Usage examples

Usage examples can be found in the examples directory.

Known issues

  • Not all API functions are supported, but missing functions can be added on request.
  • Not all camera pixel formats are currently supported.

pymba's People

Contributors

crocodiledandy avatar derricw avatar edmundchong avatar fmder avatar fstarr avatar gloweye avatar hvraven avatar jayich avatar jrast avatar lbusoni avatar morefigs avatar pierreraybaut avatar samm-ils avatar tribeiro 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.