Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.04 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.04 KB

detect_those_corners

This repo is the implementation of this blog post : https://medium.com/pixel-wise/detect-those-corners-aba0f034078b

The code implements Harris Corner Detector and Shi-Tomasi Corner Detector. Detecting important corners in an image or a video is the most important and basic task in Computer Vision. It is important for applications such as panaroma creation (stitching of images together), object recognition, motion tracking etc. Read the above blog to know more about how corner detection works in practise.




Requirements :

OpenCV 3.4.1
Python 3.6.5

Sample command-line usage:

For image/webcam/video (respectively)

python detect_corners.py --input_type=0 --img_path=path/to/image.jpg
python detect_corners.py --input_type=1 --camera=0
python detect_corners.py --input_type=2 --folder_path=path/to/folder

You can save the output by setting --save=True.