# \[Announce\] node-red-contrib-facial-recognition

**URL:** <https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384>\
**Category:** Share Your Nodes\
**Created:** [12 December 2020 02:43 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384 "2020-12-12T02:43:10Z")\
**Posts on this page:** 6\
**Page:** 4

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 December 2020 23:33 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384/61 "2020-12-20T23:33:18Z")

</div>

The node-red-docker project also provides info and an example Debian build.

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [21 December 2020 01:59 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384/62 "2020-12-21T01:59:32Z")

</div>

> [@BartButenaers](#):
>
> `Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2`

You could build your own TensorFlow or find a built version that supports it. I did that for when I was working in python a year ago for a CLI version of license plate detection.

Or switch to the GPU version ---\> @tensorflow/tfjs-node-gpu and not process on the CPU if you are worried about performance losses not using [AVX2](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions)

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [21 December 2020 02:05 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384/63 "2020-12-21T02:05:33Z")

</div>

Higher up in this GIANT post, and now linked via the documentation, I've linked node-red's wonderful documentation on creating a custom version [https://github.com/node-red/node-red-docker/blob/master/docker-custom/README.md](https://github.com/node-red/node-red-docker/blob/master/docker-custom/README.md)

I've also linked a node-red docker I built that works with this node. And a long explanation/security on why you should not use my version.  
[https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384/53](https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384/53)

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [21 December 2020 02:25 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384/64 "2020-12-21T02:25:10Z")

</div>

> [@BartButenaers](#):
>
> You are the first one in this community that offers a free SLA of maximum 48 hours 🤣  
> Hopefully people don't expect the same from me ...

LOL - I'm really into working all the bugs out as I can with this project while the code is fresh in my brain.

> [@BartButenaers](#):
>
> **On Windows 10** it seems to be working now! I only get this in my Node-RED startup log:

WOOOOOOOOOOOOT! your the first windows user I know of that got it working.

> [@BartButenaers](#):
>
> I assume the issues on the RPI are caused by tensorlfow already installed in advance (for the coco-ssd) nodes

I do not get any issues ☹

```auto
20 Dec 12:04:02 - [info] Loading palette nodes
2020-12-20 12:04:03.421491: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-12-20 12:04:03.436727: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2894560000 Hz
2020-12-20 12:04:03.437173: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x52f7800 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-12-20 12:04:03.437380: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version

```

> [@BartButenaers](#):
>
> `node-pre-gyp info This Node instance does not support builds for N-API version 6`

I think it defaults to a lower working build number in your use case.

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [23 December 2020 16:07 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384/65 "2020-12-23T16:07:34Z")

</div>

New Version: 0.29.105 released  
Documentation only - No need to update, no changes to js file.

Because of issues when crashing because users are sending 100's of images to it, I've made a Simple\_Queue\_Method example flow. This way you are not waiting on a delay node. It will release the next msg (image) in the queue as soon as the first image is done being processed.

Do note: This will take up ram as the queue grows and tensorflow is ram hungry. Only use this method if the queue will decrease in time. Don't let it grow out of control.

**NOTE: other node-red nodes required**

[node-red-contrib-simple-message-queue](https://flows.nodered.org/node/node-red-contrib-simple-message-queue)

[Click Me For Simple\_Queue\_Method example](https://raw.githubusercontent.com/meeki007/node-red-contrib-facial-recognition/main/doc/qMethodExample)

 ![q-method.jpg](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/c/fc88453ab5f418b82635ba934a2db8eeafb815c8.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 January 2021 16:07 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384/66 "2021-01-06T16:07:41Z")

</div>

Closed on 6 January 2021 16:07 UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/announce-node-red-contrib-facial-recognition/37384.md?page=3)
