New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught (in promise) TypeError: faceapi.allFacesMtcnn(...).map is not a function #67
Comments
Hi,
|
@justadudewhohacks thanks, it's working. But there is another problem. Uncaught (in promise)
I guess, I forgot one more place. |
This could be caused by anything. Could you show me the line, where this error is thrown. |
I solved this. The path to the Images folder isn't correct. Last question; How can i train recognition? I took 10 images (from web camera). But, distance value changes between 0.6 - 0.7. |
You could use multiple images to compute reference descriptors and then compute the average of the euclidean distances between all reference descriptors and a input descriptor. Usually, you should already get quite good results using a single image only. Can you share the image/s you are using as reference and the images of the faces, you are trying to recognize. |
Ok. Thanks for help. |
script2.js:17 Uncaught (in promise) TypeError: fd.forSize is not a function |
this is html code |
and the script is $(document).ready(function() { async function onPlay(videoEl) { |
I'm using VueJS. How can I fix these errors?
Code (VueJS)
Code (HTML)
The text was updated successfully, but these errors were encountered: