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

Skip invisible pictures #47

Closed
wants to merge 1 commit into from
Closed

Skip invisible pictures #47

wants to merge 1 commit into from

Conversation

abrasive
Copy link
Contributor

Pictures with all alpha=0 are common for some reason. These get cropped
down to zero height, then cause OCR failures.

This is likely to address some of the issues in #34. Cutting out everything less than 3 pixels or so in either dimension might be a more aggressive choice.

Pictures with all alpha=0 are common for some reason. These get cropped
down to zero height, then cause OCR failures.
@abrasive
Copy link
Contributor Author

Oops - you have a test for this, but it was missing in the dump-error-images branch. Sorry.

@abrasive abrasive closed this May 19, 2015
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

Successfully merging this pull request may close these issues.

1 participant