face-recognition.js icon indicating copy to clipboard operation
face-recognition.js copied to clipboard

ncaught Error: FaceRecognizer.constructor - expected inputs to be of type LabeledFaceDescriptors

Open nawatend opened this issue 5 years ago • 2 comments

image

//error image

Cant figure how to solve this error. Spent 4 hours :(

This is from: https://itnext.io/face-api-js-javascript-api-for-face-recognition-in-the-browser-with-tensorflow-js-bcc2a6c4cf07

nawatend avatar Dec 08 '19 19:12 nawatend

Have you got any solution @nawatend ?

Binita-tech avatar May 29 '22 07:05 Binita-tech

@nawatend @Binita-tech At line number 42, change it to fullFaceDescription[0].descriptor. It will work.

sumant1512 avatar Sep 13 '22 20:09 sumant1512