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

Adding image-splitter that uses Canny-Edge detection. #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iamgroot42
Copy link

Addresses issue #1

Using the fact that pages are more-or-less of the same size, and that there is some space between them, I have to build a method to split such given images into two pages. This method does not require any training or annotations. Based on the assumption that the images won't be too rotated, it will give good results.
Some visualizations from the given sample dataset are:

Left half:
image

Right half:
image

This method is quite fast: it splits all the given images in a matter of seconds and does not require high-end GPUs or deep machine-learning models (or humongous data) to train it.

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