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

Added image_align_scan.py #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Added image_align_scan.py #6

wants to merge 2 commits into from

Conversation

dufftt
Copy link

@dufftt dufftt commented Dec 19, 2020

this script works as follow:

  1. First it will do edge detection using canny edge detection
  2. Then it will find contours of the image
  3. Finally it will apply four point transformation to get scanned images output

How to run:
This script takes input image as --image argument parser
For example:
python image_align_scan.py --image img3.jpg

@rishiraj
Copy link
Member

Please make to code end to end executable. Use Google Colab if necessary.

@dufftt
Copy link
Author

dufftt commented Dec 23, 2020

I would work on that

@dufftt
Copy link
Author

dufftt commented Dec 28, 2020

I have implemented the above code in colab here: https://colab.research.google.com/drive/18ue0NlRdHx4ckcaGWbepWQn3rYwyFUld?usp=sharing

@dufftt
Copy link
Author

dufftt commented Jan 4, 2021

Reference: Adrian's Blog Pyimagesearch

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.

2 participants