Code Monkey home page Code Monkey logo

opendlv-device-camera-pylon's Introduction

OpenDLV Microservice to interface with pylon-supported cameras (e.g., Basler GiGE cameras)

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.

License: GPLv3

Table of Contents

Dependencies

You need a C++14-compliant compiler to compile this project. The following dependency is shipped as part of the source distribution:

Building and Usage

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

License

  • This project is released under the terms of the GNU GPLv3 License

opendlv-device-camera-pylon's People

Contributors

chrberger avatar

Stargazers

Emir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.