Steve-Mcl / node-red-contrib-image-tools

A Node-RED contrib node that provides image processing capabilities
MIT License
37 stars 17 forks source link

node-red-contrib-image-tools

A Node-RED node to perform functions on images, generate and decode barcodes.

Screenshots - to whet the appetite

Image processing...

Image_processing

Get image from internet...

kittens

Printing text...

printing_text printing_text

Barcode decoding...

barcode-decoding

Barcode generating...

barcode-generating

FEATURES

IMPORTANT - Breaking changes in V1

Version 1 has breaking change ~ vs ~ V0.x versions. Existing flows using the "2D Barcode Decode" node will need to be modified. The easy way of fixing this is to delete any "2D Barcode Decode" & deploy, then update the node, then re-add the new "Barcode Decode" nodes.

Alternatively, you can avoid this issue by performing the following steps...

  1. Upgrade node-red-contrib-image-tools
  2. Stop node-red
  3. Make a backup of your flow.json file
  4. Opening your flow.json file in a text editor
  5. Search / replace all instances of "type":"2D Barcode Decoder" with "type":"Barcode Decoder"
  6. Save and close your flow file
  7. Start node-red

Pre-requisites

None!

Install

Simple

The easiest wat to install is to use the Pallet Manager in node-red.

Install from GIT

Run the following command in the directory of your Node-RED install. (Usually this is ~/.node-red or %userprofile%\.node-red).

npm install Steve-Mcl/node-red-contrib-image-tools

Install from NPM

Run the following command in the directory of your Node-RED install. (Usually this is ~/.node-red or %userprofile%\.node-red).

npm install node-red-contrib-image-tools 

Install from local directory

Run the following command in the root directory of your Node-RED install. (Usually this is ~/.node-red or %userprofile%\.node-red).

npm install c:/tempfolder/node-red-contrib-image-tools

NOTES