Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

Very small image does not get centered properly but the face is detected correctly #10

Closed
Dean151 opened this issue Oct 10, 2016 · 5 comments
Labels

Comments

@Dean151
Copy link

Dean151 commented Oct 10, 2016

Here is an example of an image that do not work
simulator screen shot 10 oct 2016 a 13 13 22

@Dean151
Copy link
Author

Dean151 commented Oct 10, 2016

It seems that's it's more likely that the face detected and the image size make the calculation go wrong

@Dean151
Copy link
Author

Dean151 commented Oct 10, 2016

picture-1591-1443019236
Feel free to try

@Dean151 Dean151 changed the title Image is not centered like the default ScaleAspectFill behavior when no feature is found Very small image does not get centered properly but the face is detected correctly Oct 10, 2016
@BeauNouvelle
Copy link
Owner

Thanks, will look into this.

@algrid
Copy link
Contributor

algrid commented Nov 23, 2016

Hi! I added a PR that fixes this problem.

@BeauNouvelle
Copy link
Owner

@algrid Thanks for taking the time to fix this! Will update pods soon.

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

No branches or pull requests

3 participants