Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

OpenDLV Microservice to interface with the Raspberry PI camera

License

Notifications You must be signed in to change notification settings

chalmers-revere/opendlv-device-camera-rpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moved to https://git.opendlv.org.

OpenDLV Microservice to interface with RPi cameras

This repository provides source code to interface with an RPi camera 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.

This product includes software developed by the Ava group of the University of Cordoba.

Build Status 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:

The following dependencies are downloaded and installed during the Docker-ized build:

Usage

This microservice is created automatically on changes to this repository via Docker's public registry for:

To run this microservice using our pre-built Docker image to open an RPi camera, simply start it as follows:

docker run --rm -ti --init --ipc=host -v /tmp:/tmp -e DISPLAY=$DISPLAY chalmersrevere/opendlv-device-camera-rpi-armhf:v0.0.6 --width=640 --height=480 --freq=20 --verbose

Build from sources on the example of Ubuntu 16.04 LTS

To build this software, you need cmake, C++14 or newer, libx11-dev, and make. Having these preconditions, just run cmake and make as follows:

mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release ..
make && make test && make install

License

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