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

variable length: resizing vs. padding #55

Closed
soldierofhell opened this issue Mar 9, 2019 · 1 comment
Closed

variable length: resizing vs. padding #55

soldierofhell opened this issue Mar 9, 2019 · 1 comment

Comments

@soldierofhell
Copy link

Hi,
Common approach to standarize cropped word images is to resize them to some predefined ratio (height&width). That's fine if the words (=images) are more or less equal length (=have equal ratio). But if length varies we are squeezing and stretching. Probably that's why @githubharald added this kind of augmentation. But I wonder would it be better to rather pad the image with "empty" backgroud to keep the original letter ratio? What do you think folks?

@githubharald
Copy link
Owner

githubharald commented Mar 15, 2019

for some experiments see reference [2] (see README), section 4.2.1.

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