raspberrypi-camera
This module allows you to use the Raspberry PI camera as a Nitrogen device.
How to use in your project
- Configure the Raspberry Pi to enable using the onboard camera:
sudo raspi-config
-
Clone the camera project if you do not already have a camera project to start from.
-
Add 'raspberrypi-camera' to your packages.json.
-
Add a RaspberryPiCamera to your cameras in config.js:
var config = {
cameras: [
new RaspberryPiCamera({
width: 1024,
height: 768
})
]
};