Skip to content
New issue

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

Bug with face coordinates #6

Open
timdonovanuk opened this issue Apr 24, 2021 · 3 comments
Open

Bug with face coordinates #6

timdonovanuk opened this issue Apr 24, 2021 · 3 comments
Assignees

Comments

@timdonovanuk
Copy link

Somewhere there is an issue with coordinates so that if more than one face is detected, the coordinates come out wrong. This only affects y_max. I think an array is being set incorrectly somewhere.

image

image

@timdonovanuk
Copy link
Author

Oh and I should point out this isn't just a dodgy match on one photo, all photos with 2+ people do this :)

image

[{"confidence":0,"userid":"unknown","y_min":195,"x_min":320,"y_max":257,"x_max":372},{"confidence":0,"userid":"unknown","y_min":195,"x_min":169,"y_max":232,"x_max":219},{"confidence":0,"userid":"unknown","y_min":195,"x_min":127,"y_max":212,"x_max":173},{"confidence":0,"userid":"unknown","y_min":195,"x_min":251,"y_max":216,"x_max":299},{"confidence":0,"userid":"unknown","y_min":195,"x_min":313,"y_max":203,"x_max":361},{"confidence":0,"userid":"unknown","y_min":195,"x_min":58,"y_max":182,"x_max":107},{"confidence":0,"userid":"unknown","y_min":195,"x_min":220,"y_max":264,"x_max":275}]

@iceglow iceglow self-assigned this Apr 27, 2021
@iceglow
Copy link
Owner

iceglow commented Apr 27, 2021

Thanks for a great bug report. Can replicate the bug.
Unfortunately, it looks like a bug in Deepstack itself, calling the Deepstack API directly (latest version on docker hub https://hub.docker.com/layers/deepquestai/deepstack/jetpack/images/sha256-45375412cd073a9146435e1bd281b4f3c18f5da7c17566f2dcc9f11860a50b36?context=explore) produces the same errors in the result).
I'll see if I can file a bug directly with the Deepstack team.

@iceglow
Copy link
Owner

iceglow commented May 4, 2021

I've brought it to the Deepstack forum: https://forum.deepstack.cc/t/prediction-wrong-y-min-coordinates-when-calling-vision-face-recognize/923

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants