Skip to content

aditya-jha13/vision-tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vision Algorithms

Feature Matching and Image Stitching

Report: Link

Requirements

pip3 install opencv-python
git clone https://github.com/aditya-jha13/vision-tasks

opencv-python is installed for implementing various vision algorithms required for the task.

Installation

git clone https://github.com/aditya-jha13/vision-tasks

Usage

python3 main1.py

main1.py uses SIFT Feature Detector and BFMatcher Feature Matcher

python3 main2.py

main2.py uses ORB Feature Detector and BFMatcher Feature Matcher

Demo

Input Images

Template Image

train

Transformed Image

test

Detected Keypoints

Template Image

key1

Transformed Image

key2

Stitched Image

final

About

SIFT detectors or ORB detectors are used to detect Keypoints and their descriptions, furthermore Descriptor Matches are found using Brute Force Matcher. Then .pt attribute (Coordinates of Keypoints) are extracted from each Keypoints and a list of individual coordinates is created from matched descriptors for both Images. Finally Homography Matrix is found using those matched points and warp perspective is applied on the second Image to combine it with the First Image.

Refrences

  • Keypoints: Link
  • Homography: Link
  • cv::warpPerspective: Link

About

Feature Matching and Image Stiching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages