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

BoundingBox not detected

Open ha6755ad opened this issue 3 years ago • 0 comments

I've just created a most basic browser setup - I'm using Vue. I am streaming a video from the webcam and then calling detectAllFaces(video, new TinyFaceDetectorOptions()).

This error is produced. Error: Box.constructor - expected box to be IBoundingBox | IRect, instead have {"left":null,"top":null,"right":null,"bottom":null}

I have done quite a bit of trouble shooting, it is not obvious that these Classes need to be specified in order for the default configuration to work.

Any help is appreciated

ha6755ad avatar Aug 20 '21 21:08 ha6755ad