CHI@Edge Camera Peripheral Tutorial

The following tutorial aims to provide a reproducible set of steps for using the Pi Camera Module 3 to take pictures and videos on CHI@Edge hosted Raspberry Pi devices.

Recommended pre-requisite: we strongly recommend completing the official CHI@Edge tutorial prior to attempting this tutorial.

The CHI@Edge Camera Peripheral Tutorial artifact contains the following files

  • Dockerfile that specifies a container image with the standard libcamera software stack to drive the camera sensor and the rpicam applications that enable image and video capture using the camera on raspberry pis

  • Jupyter notebook that showcases how to capture iamges and videos using the Pi Camera. First, by showing how to make lease for a pre-configured camera-enabled device and then how to launch a fully featured container with the right device profiles and dependencies.

  • Readme with more in-depth information about how this device was set up behind the scenes to accommodate camera support.

This artifact is maintained on a best-effort basis by our support team, contributions to this peripheral support or any peripheral support on CHI@Edge are highly welcome.

We encourage our users to visit the newly updated official documentation for enabling peripherals on CHI@Edge devices.

Happy frame capturing!

19 7 4 1 Jun. 4, 2024, 5:51 PM

Authors

Launch on Chameleon

Launching this artifact will open it within Chameleon’s shared Jupyter experiment environment, which is accessible to all Chameleon users with an active allocation.

Download Archive

Download an archive containing the files of this artifact.

Download with git

Clone the git repository for this artifact, and checkout the version's commit

git clone https://github.com/ChameleonCloud/edge-picamera-image
# cd into the created directory
git checkout d858119803662de73a39e8e9edd23d3c1166e53e
Feedback

Submit feedback through GitHub issues

Version Stats

19 7 4