Face Recognition

82 views
Skip to first unread message

Adipati Rezkya

unread,
Feb 1, 2022, 2:17:48 AM2/1/22
to DroidScript
Hi, i want to make an app within Face Recognition. im already have 2 images by got from CreateCameraView(...).TakePictures(...), and i already get confidence data by FindFaces(1) function but i dont know what confidence mean.

Anyone know how to predict that face are same people?
you can write other ways too...
Thanks❤️

Alan Hendry

unread,
Feb 1, 2022, 8:01:31 AM2/1/22
to DroidScript
HI,
FindFaces just finds (anything that looks like) faces (mainly eyes).
It doesn't try to recognise individual faces.
confidence is a measure of how sure it is that it has actually found a face.
eyedistance seems to be the distance  between the eyes, 
and midpoint is where it thinks the middle of the face is,
I presume pose indicates whether this is full-face or three-quarters or profile etc.
See Sample (touch rocket icon in top-right) Camera Faces - Find faces in the image
Regards, ah

Adipati Rezkya

unread,
Feb 1, 2022, 9:45:13 AM2/1/22
to DroidScript
Ohh thanks, and do you know how to Face Reconizing in DroidScript?

Alan Hendry

unread,
Feb 1, 2022, 11:05:54 AM2/1/22
to DroidScript
HI,
There isn't anything built into DS to recognize individual peoples faces.
DS 2.50 has the ability to use nodejs packages, it seems to be a Premium function.
https://www.npmjs.com/package/face-recognition is "pretty much obsolete" and recommends face-api.
Regards, ah

Adipati Rezkya

unread,
Feb 6, 2022, 9:13:17 PM2/6/22
to DroidScript
Oh but i already used thats all and node-gyp module required, i mean that needed cpp native to run. i've got that error since i wrote require(..) what that module needed cpp native function.

can you add that on Plugins next time?, i mean i can do Biometric fingerprint plugin but can you do that within face recognition also?
Thank you....

Alan Hendry

unread,
Feb 7, 2022, 9:09:44 AM2/7/22
to DroidScript
HI,
What did you have for ide.AddModule( "xxxxxxxxxxx" ) ?
Did it create a node_modules folder inside your app, with subfolders?
What else did you put in your .js file? 
What error messages are you getting (on screen or in debug) ?
Regards, ah
Reply all
Reply to author
Forward
0 new messages