We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get an exception when I call warmup("full"). It works if I enabled the iris model.
Unhandled Rejection (TypeError): Cannot read property '0' of undefined Human.detectFace src/human.js:310 307 | 308 | // calculate iris distance 309 | // iris: array[ center, left, top, right, bottom]
310 | const irisSize = (face.annotations.leftEyeIris && face.annotations.rightEyeIris) | ^ 311 | /* average human iris size is 11.7mm */ 312 | ? 11.7 * Math.max(Math.abs(face.annotations.leftEyeIris[3][0] - face.annotations.leftEyeIris[1][0]), Math.abs(face.annotations.rightEyeIris[4][1] - face.annotations.rightEyeIris[2][1])) 313 | : 0; View compiled async src/human.js:392 389 | resolve({ error: 'could not convert input to tensor' }); 390 | return; 391 | } 392 | this.perf.image = Math.trunc(now() - timeStamp); | ^ 393 | this.analyze('Get Image:'); 394 | 395 | // run face detection followed by all models that rely on face bounding box: face mesh, age, gender, emotion
The text was updated successfully, but these errors were encountered:
fixed via 0417058
Sorry, something went wrong.
vladmandic
No branches or pull requests
I get an exception when I call warmup("full"). It works if I enabled the iris model.
Unhandled Rejection (TypeError): Cannot read property '0' of undefined
Human.detectFace
src/human.js:310
307 |
308 | // calculate iris distance
309 | // iris: array[ center, left, top, right, bottom]
The text was updated successfully, but these errors were encountered: