Aligning Images with a UI

Standard

I added to my Python program where a user can click on 4 points and the coordinates of those points will be returned. Now the user selects the 4 corners of a rectangle in order and given the corresponding coordinates of those corners in a straightened image, the program straightens a warped image. If the user presses ‘c’ after the corners are selected the program will straighten the image. If the user presses ‘r’ the previous selections will be cleared and the user can select 4 new corners.

Here is a link to a folder with the program and images in it. You have to download the entire folder and run the Python program from within it.

An image of the output after the program is run:Screen Shot 2017-07-03 at 5.53.39 PM.png

Advertisements

Ask a Question or Comment Here

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s