Skip to content

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

Open
iamgroot42 wants to merge 1 commit intoFreeUKGen:masterfrom
iamgroot42:master
Open

Adding image-splitter that uses Canny-Edge detection.#4
iamgroot42 wants to merge 1 commit intoFreeUKGen:masterfrom
iamgroot42:master

Conversation

@iamgroot42
Copy link
Copy Markdown

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