Git Product home page Git Product logo

Comments (6)

thebigpotatoe avatar thebigpotatoe commented on August 27, 2024

Perhaps this is an issue with the documentation. But the steps required are;

  • create a compute node inside of an added input node
  • check the box "recognise a face in the image"
  • Then when the "Add image" button pops up click that to select images (you may select one or many). Any image selected should contain the face of the individual you would like to recognise only.
  • When selection is done, simply click "add" or "update" in the editor which should then send the images to the node red server for processing.
  • Your node red instance will freeze for a bit to compute the descriptors of the faces you have supplied and then save them. (note that you will need write permissions to your .node-red folder)
  • After that, make sure your compute node is selected in your input nodes, then simply pass an image to the node for inference.

from node-red-contrib-face-recognition.

thebigpotatoe avatar thebigpotatoe commented on August 27, 2024

If you are having issues, make sure to check the logs as well. If you get stuck just paste them here as they should indicate the issue.

from node-red-contrib-face-recognition.

maxi1134 avatar maxi1134 commented on August 27, 2024

And, follow up, is there a way to teach more that 10 faces? I want to use this for when I host parties to announces who's as the door. Which mean I would need to teach about 50 faces.

I did some tries with teaching 4 pictures and then trying one similar (All of sheldon cooper) but it still doesn't recognize.

https://imgur.com/a/TNQw2Jl

Are those settings right?

from node-red-contrib-face-recognition.

thebigpotatoe avatar thebigpotatoe commented on August 27, 2024

Currently there is no way to add more than 10 compute nodes to an input node. This is because the HTML is currently statically type for the input node due to the way the front end had to be written. I may change this in the future so this limitation wont exist.

A work around is to add as many input nodes as you desire and sending the same input to each at the same time.

from node-red-contrib-face-recognition.

wifff avatar wifff commented on August 27, 2024

Hi,
first things first: thank you very much for this great piece of software!
Just installed it on a Raspi 4 and it just worked !

I want to replace and expand a webcam system written in Python
https://newgoldeneye.blogspot.com/2020/05/webcam-flugplatz.html

Now I am looking for a "face-blur" function. Is that already in the pipeline ?
I am also looking for the coordinates (x,y) of the bounding boxes of the faces found in an image.
To write a function on my own I would need these coordinates.
There is "payload.face_recon.faces[0].imageDims._width" and _height but I was unable to find the x,y values of the corner of the box.
Any help very appreciated !

Best regards & Healthy New Year !
Wolfgang

from node-red-contrib-face-recognition.

thebigpotatoe avatar thebigpotatoe commented on August 27, 2024

Just installed it on a Raspi 4 and it just worked !

Glad to hear that.

Now I am looking for a "face-blur" function. Is that already in the pipeline ?

Not within the scope of this repo, but there may be another other there

I am also looking for the coordinates (x,y) of the bounding boxes of the faces found in an image.

While I have not looked at the output of the code in quite a while, it just exports the data structure from face-api.js. So what ever info is available from that should be available in the output object.

You may have to have a read around over at the repo as I am no longer going to be actively maintaining the repo.

from node-red-contrib-face-recognition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.