-
Notifications
You must be signed in to change notification settings - Fork 14
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
warning should be raised (or error?) on trying to handle images larger than 4096 #14
Comments
Is that issue still valid ? Couldn't find an issue for scaling up the landmarks when server detects a scaled down image (which should handle the case of reusing landmarks with the original image) did that evolve from this issue ? |
@lirsacc I've fleshed out the issue to cover the potential options. I think that we are best going forwards with option 2 for now. It fully solves the problem for the only current supported use case of the landmarker (client + server). We just need to be careful if we do this as the exact values reported by the client may now be incorrect as it will not be aware of scaling issues (as all this duty is taken care of my the server). |
@lirsacc In order to make this easier, I'm going to work today on exposing the transforms that menpo uses internally when performing image scaling. This means you will have an object you can save out ( |
the necessary code is now in menpo to implement this: menpo/menpo#631 |
We current scale users images which have a width or height greater than 4096 and don't even tell them, which leads to scale errors on annotations. This is a bug and we need a strategy to solve it. In order of increasing difficulty:
--resize-images
) to be explicitly provided by the user to allow the downscale to take place. Else, fail on importing large images. Very easy to do but means users can't practically use the landmarker with large textures.The text was updated successfully, but these errors were encountered: