Python wrapper for Allied Vision's Vimba C API
MIT License
⚠️ Allied Vision now officially provide Python support - consider using the official API instead of 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.
For Windows:
VimbaDriverInstaller.exe
and install the relevant driver.VimbaViewer.exe
.For other OS's see Vimba's download page.
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.
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, __version__
print(__version__)
print(Vimba.version())
Usage examples can be found in the examples
directory.