detecttechnologies / Interactive-Homography-Compute

An interactive UI to undertake perspective/homography transformations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interactive-Homography-Compute

An interactive UI to undertake perspective/homography transformations

Usage

First install all the libraries required for the code: pip install -r requirements.txt

The code can then be run with: python Calibrate_homography.py

Navigating the UI

Stages in the ui that needs to be followed after running the script:

  1. Upload video Upload any video ny clicking the upload button.

  2. Mark the points in the frame Left click to add a point, and Ctrl+Left click to remove the nearest marked points from the frame

  3. Giving clibration scale Give the height and width scale of the rectangles as integers and press the calibrate button after it.

  4. After the matlabplot's window is opened, any of the three buttons can be pressed to revisit and any of the three windows. The .npz will be save in the same directory of the code on clicking the Save button.

About

An interactive UI to undertake perspective/homography transformations

License:GNU General Public License v3.0


Languages

Language:Python 100.0%