Moved to https://git.opendlv.org
This repository provides source code to interface pylon-supported cameras for the OpenDLV software ecosystem. This microservice provides the captured frames in two separate shared memory areas, one for a picture in I420 format and one in ARGB format.
You need a C++14-compliant compiler to compile this project. The following dependency is shipped as part of the source distribution:
Currently, we do not provide and distribute pre-built Docker images but we provide
the build instructions in Dockerfile.amd64
for x86_64 platforms, Dockerfile.armhf
for armhf platforms, and Dockerfile.aarch64
for aarch64 platforms that can be
easily integrated in a docker-compose.yml
file.
To run this microservice using docker-compose
, you can simply add the following
section to your docker-compose.yml
file to let Docker build this software for you:
version: '2' # Must be present exactly once at the beginning of the docker-compose.yml file
services: # Must be present exactly once at the beginning of the docker-compose.yml file
device-camera-pylon-amd64:
build:
context: https://github.com/chalmers-revere/opendlv-device-camera-pylon.git#v0.0.3
dockerfile: Dockerfile.amd64
restart: on-failure
ipc: "host"
volumes:
- /tmp:/tmp
command: "--camera=22604270 --width=640 --height=480"
The parameters to the application are:
--camera=ID
: Serial number for pylon-compatible camera to be used--name.i420=XYZ
: Name of the shared memory for the I420 formatted image; when omitted,cam0.i420
is chosen--name.argb=XYZ
: Name of the shared memory for the ARGB formatted image; when omitted,cam0.argb
is chosen--skip.argb
: Don't decode into ARGB--width=W
: Desired width of a frame--height=H
: Desired height of a frame--offsetX
: X for desired ROI (default: 0)--offsetY
: Y for desired ROI (default: 0)--packetsize
: If supported by the adapter (eg., jumbo frames), use this packetsize (default: 1500)--verbose
: Display captured imageA--info
: Display information about capturing--autoexposuretimeabslowerlimit
: Set auto exposure time lower limit; default: 26--autoexposuretimeabsupperlimit
: Set auto exposure time upper limit; default: 50000
- This project is released under the terms of the GNU GPLv3 License