Skip to content

sguequierre/viam-csi

 
 

Repository files navigation

viam-csi

viam module for csi cams

Warning Currently in ALPHA and only supports Jetson. Please open an issue if you run into problems.


why?

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.


usage

  1. 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
  1. 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.


support

Check SUPPORT.md for a more comprehensive list of tested setups.

  • jetson
  • pi

About

viam module for csi cams

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 79.9%
  • Makefile 10.5%
  • CMake 5.3%
  • C 3.0%
  • Shell 1.3%