node-red-contrib-camera-mac
v0.1.1
Published
A Node-RED node for capturing images from the built-in camera on a Mac
Downloads
39
Maintainers
Readme
node-red-contrib-camera-mac
Node-RED node for taking pictures with the built-in mac or macbook camera
Configuration
- Drag the
camera-mac
node from the palette onto the flow canvas. - Double-click the node to open its configuration panel.
- Configure the
Output Path
andFile Name
based on your preferences. - Click "Deploy" to apply the changes.
Usage
Once configured, the camera-mac
node will capture an image from the built-in camera on a Mac using the ffmpeg
command.
The captured image will be available as a buffer in the payload of the output message. Additionally, the file path is provided in the filePath
property of the message for reference.
Sample Flow
You can make this json string into a flow by using the node-red flow import function. You will also need the node-red-contrib-image-output flow for the preview.
License
This project is licensed under the MIT License - see the LICENSE file for details.