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

Error when detecting face

Open ScottDellinger opened this issue 4 years ago • 7 comments

Occassionally, we receive an error when attempting to detect a face in a still image, we receive the following error:

Uncaught (in promise) Error: Box.constructor - expected box to be IBoundingBox | IRect, instead have {"left":211.82223243423,"top":188.34445656565,"right":299.35465223232,"bottom":null} at BoundingBox.Box at new BoundingBox at minBbox at FaceLandmarks68.FaceLandmarks.alignMinBbox ...

It appears that it's missing a value for the bottom of a bounding box, but I'm not sure why. Any suggestions?

ScottDellinger avatar Jun 22 '20 16:06 ScottDellinger

I was having this error when running the html served in a node environment. Running it from traditional apache works fine.

felipebutcher avatar Feb 19 '21 03:02 felipebutcher

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

ha6755ad avatar Aug 20 '21 21:08 ha6755ad

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

No... I stopped using this library because it's been abandoned and we found the models it was trained with did not perform well on Asian or Middle Eastern faces. There is a more active fork of it, though.

ScottDellinger avatar Aug 23 '21 14:08 ScottDellinger

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

No... I stopped using this library because it's been abandoned and we found the models it was trained with did not perform well on Asian or Middle Eastern faces. There is a more active fork of it, though.

Can you share the link ? Can't seem to find anything active.

Ghos1ware avatar Jun 02 '23 18:06 Ghos1ware

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

No... I stopped using this library because it's been abandoned and we found the models it was trained with did not perform well on Asian or Middle Eastern faces. There is a more active fork of it, though.

Can you share the link ? Can't seem to find anything active.

https://github.com/vladmandic/face-api

ScottDellinger avatar Jun 02 '23 18:06 ScottDellinger

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

No... I stopped using this library because it's been abandoned and we found the models it was trained with did not perform well on Asian or Middle Eastern faces. There is a more active fork of it, though.

Can you share the link ? Can't seem to find anything active.

https://github.com/vladmandic/face-api

Thank you Scott! ;)

Ghos1ware avatar Jun 02 '23 18:06 Ghos1ware

Hi @ScottDellinger Did you ever manage to find a solution for this issue?

No... I stopped using this library because it's been abandoned and we found the models it was trained with did not perform well on Asian or Middle Eastern faces. There is a more active fork of it, though.

Can you share the link ? Can't seem to find anything active.

https://github.com/vladmandic/face-api

Thanks as well ☺️

rubaiyet-anjum avatar Apr 09 '24 14:04 rubaiyet-anjum