Skip to content

acquire-project/acquire-driver-spinnaker

Repository files navigation

Acquire driver for Spinnaker

This is an Acquire driver that supports some Teledyne FLIR cameras using the Spinnaker SDK.

Usage

The intended way to use this library is as part of the acquire-imaging Python package, which also includes Acquire's runtime as well as other drivers.

That package can be installed using the following command in an environment with Python and pip.

python -m pip install acquire-imaging

Prerequisites

Before using this driver you must install the Spinnaker SDK. This driver is built against version 3.1.0.79 of the SDK and you should install exactly the same version.

Supported cameras

The following cameras have been tested using this driver.

Supported operating systems

Windows is the primary usage target. But both Windows and macOS are currently supported for development purposes.

Development

We welcome contributors. The following will help you get started building the code.

Environment

Requires

Configure

From the repository root, run the following commands to configure the CMake build files.

mkdir build
cd build
cmake ..

Build

After configuration, run the following command to build the library and tests.

cmake --build .

Test

After building the default debug configuration, run the following command to run all the tests using CTest.

ctest -C Debug

You will need all supported cameras connected to the device that you're testing on for all tests to pass.

If you only want to run a subset of the tests you can use CTest's -R option to specify a pattern to match against. For example, if you only want to run the oryx tests, run the following command.

ctest -C Debug -R oryx