This repository contains a implementation of a camera gateway for BlackFly GigE camera models using Spinnaker SDK. All messages used are defined in is-msgs and is-wire-py package is used to implement the pub/sub middleware for the Inteligent Space architecture.
The behavior of the service can be customized by passing a JSON configuration file as the first argument, e.g: is-spinnaker-gateway options.json
. The schema for this file can be found in is_spinnaker_gateway/conf/options.proto
. An example configuration file can be found in etc/conf/options.json
.
It is recommended that you use Ubuntu 22.04 for development. Also, make sure you have Docker installed (if not, Install Docker Engine on Ubuntu and Linux post-installation steps for Docker Engine).
First, make sure to download Spinnaker SDK for Ubuntu 22.04. The files are and their locations are:
- spinnaker-3.0.0.118-amd64-pkg.tar.gz: Linux > Ubuntu 22.04
- spinnaker_python-3.0.0.118-cp310-cp210-linux_x86_64.tar.gz: Linux > Ubuntu 22.04 > python
Then, extract and move all .deb
and *.whl
into etc/spinnaker/
folder.
Once you have the necessary files for the camera driver at etc/spinnaker/
, to build the docker image just run:
make image
You can also build the image with your user and the version you want:
make image USER=luizcarloscf VERSION=0.1.3-beta