https://github.com/sumitshinde-84/node-red-dashboard-2-ui-webcam
The ui-webcam node for Node-RED Dashboard 2.0 enables users to integrate webcam functionality into Node-RED Dashboard 2.0. It allows users to capture images, select different cameras, and control webcam features through an intuitive user interface within the Node-RED Dashboard.
https://github.com/sumitshinde-84/node-red-dashboard-2-ui-webcam
node-red node-red-dashboard webcam
Last synced: 11 months ago
JSON representation
The ui-webcam node for Node-RED Dashboard 2.0 enables users to integrate webcam functionality into Node-RED Dashboard 2.0. It allows users to capture images, select different cameras, and control webcam features through an intuitive user interface within the Node-RED Dashboard.
- Host: GitHub
- URL: https://github.com/sumitshinde-84/node-red-dashboard-2-ui-webcam
- Owner: sumitshinde-84
- License: apache-2.0
- Created: 2024-02-07T12:19:28.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-20T05:28:01.000Z (over 2 years ago)
- Last Synced: 2025-07-03T09:47:18.751Z (12 months ago)
- Topics: node-red, node-red-dashboard, webcam
- Language: Vue
- Homepage: https://flows.nodered.org/node/@sumit_shinde_84/node-red-dashboard-2-ui-webcam
- Size: 182 KB
- Stars: 1
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Node-RED Dashboard 2.0 Webcam Widget
=======================


The Node-RED Dashboard 2.0 Webcam Widget is a UI widget node designed to facilitate image capture directly from the Dashboard 2.0 interface. This widget enables users to capture images from their device's webcam seamlessly within Node-RED.
## Installation:
Ensure that you have previously installed Dashboard 2.0 before proceeding with the installation of the ui-webcam widget.
***Using the Node-RED Editor***:
- Navigate to Editor > Menu > Manage Palette > Install.
- Search for @sumit_shinde_84/node-red-dashboard-2-ui-webcam and install it.
***Using Command Line:***
- Run the following command in your Node-RED user directory (typically ~/.node-red):
```
npm i @sumit_shinde_84/node-red-dashboard-2-ui-webcam
```
## Usage
The ui-webcam node offers the following functionalities:
- Live Image Display: Renders a live image feed from the device's webcam within the Dashboard 2.0 interface.
- Image Capture: Users can click a designated button to capture an image, which is then transmitted by the node as a Base64 string containing the image in PNG format.
- Automated Image Capture: If a `msg.payload` is passed to the ui-webcam node with the `capture` string , the node automatically captures an image without requiring user interaction.
- Camera Selection: Users have the option to select a different camera by clicking on the three-dot icon located in the top-right corner and choosing their preferred camera from the options.
## Browser Support
The webcam widget is compatible with all modern browsers, except Internet Explorer.
If you are accessing the Dashboard 2.0 remotely (not via `localhost`), then you must
use HTTPS otherwise the browser will block access to the webcam.
## Privacy
Before the webcam can be activated, the browser will ask the user's permission for
the page to access the device. The node cannot capture images until the user
has given their permission.