esimov / pigo

Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go.
MIT License
4.37k stars 309 forks source link

JSON output containing face box coordinates doesn't match with faces #29

Closed Bekassyl closed 4 years ago

Bekassyl commented 4 years ago

In code I can see that DrawRectangles and Face Coordinates have the same input, but it turns out that the coordinates doesn't match face boxes. Is it a bug? Or I don't understand something?

esimov commented 4 years ago

I've checked the issue you have reported, but i don't see any misbehavior in the resulted json output. Can you give me an example? The Min and Max values represents exactly the rectangle detected by the face detector.

esimov commented 4 years ago

Since I haven't received any feedback i'm closing this issue. You can reopen anytime.

esimov commented 4 years ago

The code has been refactored. Check this issue #33.