@intres/azure-computer-vision
v3.0.3
Published
Node-red nodes for Microsoft Azure Computer Vision
Downloads
29
Readme
azure-computer-vision
Introduction
azure-computer-vision is a collection of nodes that perform computer vision services from Microsoft Azure Computer Vision Services.
About us
The Internet of Things Research (INTRES) Group at the University of Washington Tacoma (UWT) developed and maintains this package to promote Internet of Things (IoT) research and teaching. This package seeks to accelerate the adoption of IoT concepts by developing a simple mechanism to increase the productivity of researchers, software engineers, developers, and data scientists.
Features:
These features are currently supported:
- Analyze images with multiple features(Tags, Color... etc.)
- Describe image.
- Detect objects.
- Get area of interest.
- Image optical character recognition(OCR).
- Get thumbnail.
- Read complex image/pdf file.
Most of the parameters of these nodes are supported. For more information about all the settings and output format, please refer to the individual tab of the service in official API document.
Installation
npm install @intres/azure-computer-vision
Example usage
The example flow is as follows:
In this example, The node will output the corresponding objects of the chosen service. The chosen service here is "analyze image", and the features we want to include is "Tags,Colors". Features should be comma separated if more than one is provided.
The output format is exactly from the official API document and is passed to the next node for further usage.
Example usage of read/get-read-result
The example flow is as follows:
The config of the read node is as follows:
In this example, read node accepts an image url and will output another URL for further query as its msg.payload.
This url should be recorded and passed to get-read-result node as input. The reason why the returned url should be kept instead of being passed to get-read-result node directly is that the reading process is usually not completed when the url is returned, and thus the result is not available. The url should be recorded and be used later. The time one should wait depends on the input file.
Disclaimer
INTRES and UWT are not responsible for the usage or utilization of these packages. They are meant to promote IoT research and education. IoT service providers may require additional verification steps to utilize the features outlined in these packages. We are not in any way responsible for the misuse of these packages. For more details on the service agreement and terms, please click here.