Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1 KB

File metadata and controls

27 lines (20 loc) · 1 KB

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/..