Skip to content

Python GUI program to do Perspective Transformation using Mouse Click to map the 4 points coordinates.

Notifications You must be signed in to change notification settings

ivder/PerspectiveTransformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PerspectiveTransformer

Python GUI program to do Perspective Transformation using Mouse Click to map the 4 points coordinates. Purpose : Pre-Processing for Object Detection dataset annotation.

Requirements

  • Python3
  • TkInter
  • PIL
  • OpenCV 3.x

Usage

  1. Run python main.py

  2. Select image file

  3. Use left-mouse-click to save the coordinate and ret dot will be created.

    • Remember : You have to create point coordinates in the RIGHT ORDER
    • top-left, top-right, bottom-left, bottom-right
  4. To delete/remove last created coordinate press right-mouse-click and the ret dot will be deleted as well

  5. After 4 points are created, the transformation result will be shown directly

  6. Use save button to save the result image in result/..

About

Python GUI program to do Perspective Transformation using Mouse Click to map the 4 points coordinates.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages