Skip to content

detecttechnologies/Interactive-Homography-Compute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages