Open jepoyoy opened 5 years ago
Can you please give me the exact hardware information of the computer it is not working for (CPU, GPU, OS).
There still seems to be some issues with Intel Graphics Cards / (CPUs?).
Fixed with setting tf-core version to 1.2.9
Same here. Works perfectly in vue-cli/dev, but doesn't work in production (nginx).
If i'm using tensors as input, gives this response:
Negative size values should be exactly -1 but got -112 for the slice() size at index 0.
somewhere at faceapi.detectAllFaces.
If i use images from canvas, it gives me
Uncaught (in promise) DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source height is 0.
though the image is captured correctly (the height and width are in console just before the faceapi call and are non-zero.
It has been working in summer, then i've added a minor tweak (to the GUI, not the face recognition process), and it all went south. Maybe some tf update or smth. I'm using: tfjs 1.2.9 faceapi 0.21.
Tried to use older version which worked, and it used the following dependencies: "core-js": "2.6.5", "face-api.js": "0.21.0"
The output of faceapi.detectAllFaces
on vue dev is:
the very same code/image on vue/prod:
it detects 419 faces (sic!) and their height/width is really <0
Hi!
I'm having a problem having the examples work in my Windows dev machine. I was able to make the sample work in Mac, and was able to updated code with my own code. When I've moved it into my windows machine my code wasn't able to detect faces anymore.
The sample code in https://justadudewhohacks.github.io/face-api.js/webcam_face_expression_recognition works, but when running it via node it doesn't seem to work.