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

What does apply_offsets do? #7

Open
Shadow1356 opened this issue Nov 30, 2018 · 0 comments
Open

What does apply_offsets do? #7

Shadow1356 opened this issue Nov 30, 2018 · 0 comments

Comments

@Shadow1356
Copy link

x1, x2, y1, y2 = apply_offsets(face_coordinates, emotion_offsets)

The line above applies a pre-defined offset to each detected face region before sending it through the emotion detector. When I was trying this out, it would often move the region off of the face and even cause the program to error out (and hit the try/catch). What is the reason why this is here? I'm not an expert in face detection by any means, but this seems wrong to me. Please correct me if I'm wrong.

@Shadow1356 Shadow1356 changed the title What does apply offsets do? What does apply_offsets do? Nov 30, 2018
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

1 participant