Socket
Socket
Sign inDemoInstall

node-red-contrib-usbcamera

Package Overview
Dependencies
9
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-red-contrib-usbcamera

USB Camera


Version published
Weekly downloads
64
increased by10.34%
Maintainers
1
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 03 Oct 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc