Skip to main content

Package for integrating VimbaPython and Qt6

Project description

CIViQ6 - Camera Integration for Vimba and Qt6

PyPI version Python Version Build Status Documentation Status License

CIViQ6 is a Python package which integrates VimbaPython and Qt6 multimedia scheme.

The following Qt bindings are supported:

This package is tested using Vimba 6.0, VimbaPython 1.2.1, and Mako U-130B camera device connected to the device with Window 11.

How to use

VimbaRunner must be run first in QThread to start Vimba instance.

After Vimba is started, you can access the vimba camera APIs and acquire frames.

CIViQ6 is designed to be similar to Qt6's QtMultimedia framework:

Qt class CIViQ6 counterpart
QMediaDevices VimbaDevices
QCameraDevice VimbaCameraDevice
QCamera VimbaCamera
QMediaCaptureSession VimbaCaptureSession

For more information, refer to the documentation and examples.

Examples

Use cases with multithreading are provided in examples directory. They can be found in documentation as well.

Installation

Before you install, be careful for other Qt-dependent packages installed in your environment. For example, non-headless OpenCV-Python modifies the Qt dependency thus can make other Qt bindings unavailable.

To install CIViQ6, you first need to install VimbaPython package which is not distributed by PyPI. Go to its repository and follow the instructions.

After VimbaPython is installed, civiq6 can be installed using pip.

$ pip install civiq6

Documentation

CIViQ6 is documented with Sphinx. Documentation can be found on Read the Docs:

https://civiq6.readthedocs.io/

If you want to build the document yourself, clone the source code and install with [doc] option. This option installs the additional packages to build the document and to run the examples.

Go to doc directory and build the document.

$ pip install civiq6[doc]
$ cd doc
$ make html

Document will be generated in build/html directory. Open index.html to see the central page.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

civiq6-0.2.0.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

civiq6-0.2.0-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page