viam module for csi cams
Warning Currently in ALPHA and only supports Jetson. Please open an issue if you run into problems.
Want to use CSI cameras with viam? This is the module for you.
Most embedded cameras do not have an onboard ISP (image signal processor) and instead rely on the host machine for things like debayering, gamma-curve adjustments, gain control, white balance, and color correction.
ISPs are hard, so why roll your own? There are great libraries out there like libargus and libcamera.
viam-csi
is a Viam Module that includes a simple wrapper around GStreamer and an interface that satisfies a Viam Camera Component. This means you can utilize the hardware accelerated GST plugins on your Jetson or Pi with the Viam ecosystem.
- Download appimage from releases page.
sudo wget https://github.com/seanavery/viam-csi/releases/download/v0.0.2/viam-csi-0.0.2-aarch64.AppImage -O /usr/local/bin/viam-csi
sudo chmod 755 /usr/local/bin/viam-csi
- Run viam-server with example config file etc/app-config.json.
viam-server
will automatically load the module. You can now head over to https://app.viam.com/ and view the control tab for the camera feed. If you do not see anything, check the logs tab for errors.
Check SUPPORT.md for a more comprehensive list of tested setups.
- jetson
- pi