Skip to content

Instantly share code, notes, and snippets.

@traumverloren
Created April 14, 2020 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save traumverloren/60d5a0ecdc7763f0ceefcf3a8a0bb34b to your computer and use it in GitHub Desktop.
Save traumverloren/60d5a0ecdc7763f0ceefcf3a8a0bb34b to your computer and use it in GitHub Desktop.
Get canvas + pi camera to work on RPI + node

Install dependencies:

sudo apt-get update // Updates

sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++

enable camera:

sudo raspi-config

Include dep in package.json

include pi-camera & canvas@2.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment