Socket
Socket
Sign inDemoInstall

node-red-contrib-face-recognition

Package Overview
Dependencies
348
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.2 to 1.3.3

11

face-api.js

@@ -146,4 +146,15 @@ module.exports = function (RED) {

let msg = {}
msg["Matched Faces"] = []
computeNodesOutput.forEach((output) => {
msg[output.name] = output
output.faces.forEach(face => {
if (face.matchedLabel !== "unknown") {
msg["Matched Faces"].push({
"name" : face.matchedLabel,
"confidence" : face.matchedDistance
})
// console.log(face)
}
})
})

@@ -150,0 +161,0 @@

2

package.json
{
"name": "node-red-contrib-face-recognition",
"version": "1.3.2",
"version": "1.3.3",
"description": "A wrapper node for the epic face-api.js library",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -25,6 +25,11 @@ # node-red-contrib-face-recognition

> Linux users (including raspberry pi) should read [this issue](https://github.com/thebigpotatoe/node-red-contrib-face-recognition/issues/4#issuecomment-579821200) if having issues with installing canvas.
## Example Flow
As an example on how to use the node, below is a flow that grabs an image from the internet and runs inference over it. Simply copy and paste it into Node-Red to use.
As an example on how to use the node, below is a flow that grabs an image from the internet and runs inference over it. Copy and paste it into Node-Red to use, but make sure to install the following nodes from the pallet manager;
- node-red-node-base64
- node-red-contrib-image-output
![Example](Images/Example%20Flow.PNG)

@@ -31,0 +36,0 @@

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