šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

node-red-contrib-usbcamera

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-usbcamera

USB Camera

0.0.6
latest
Source
npm
Version published
Weekly downloads
61
22%
Maintainers
1
Weekly downloads
Ā 
Created
Source

node-red-contrib-usbcamera

A Node-RED node to take photos on a Raspberry Pi with a USB camera. This node will only work on an Raspberry Pi with a USB Camera.

Install

Run the following command in the root directory of your Node-RED install or home directory (usually ~/.node-red) and will also install needed libraries.

    npm install node-red-contrib-usbcamera

Additionally you have to install on the Raspberry Pi

You have to install fswebcam by following command.

    sudo apt install fswebcam

If you are using the default path - the /home/pi/Pictures will be used.

Runtime information

This node was tested to Node.js v6.11.3 and NPM 3.10.10 on Node-Red v0.17.5

Usage

usbcamera

This node is to take a photo in a given format directly from a USB camera on Raspberry Pi. The image of the photo is stored into the file-system and msg.payload will give you the path and the filename including extension to the photo or Buffer object.

This node was tested to Node.js v6.11.3 and NPM 3.10.10 on Node-Red v0.17.5.

Keywords

node-red

FAQs

Package last updated on 03 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts