Sitemap
Chirag Modi

Chirag Modi

Automobile Engineer in Germany | Interested in Driver Assistance Systems | Working with Python, Machine Learning, Artificial Intelligence

Member-only story

I Learned Image Matching, So I Built a Panorama Maker using OpenCV and Python

13 min read2 days ago

I spent two posts learning image matching. Time to build something with it.

I’ve been writing about image matching using OpenCV and techniques like ORB and SIFT in my past two blogs.

So I thought, let us build a small application out of it. Not a groundbreaking app, about which I create a fake hype on Instagram, but a simple Python application just to have fun with what I learned.

In these past few days on the topic of image matching, what I learned was how to find the similarities in two images. And the very first thought which I had was, “Is this how panorama photos are created? You click photos sequentially, similarities are identified and are ultimately stitched together.”

So in this post, we’ll build a two-photo panorama using OpenCV. If you are impatient and want to skip direct to the code, here’s the link to my github. If that did not work, try this: https://github.com/cmodi306/panorama_generator.

Press enter or click to view image in full size

What’s Inside

  • A Quick Recap
  • Prerequisites
  • The Idea
  • Step 1: Load the Photos
  • Step 2: Creating the Class
  • Step 3: Match the Images

--

--

Automobile Engineer in Germany | Interested in Driver Assistance Systems | Working with Python, Machine Learning, Artificial Intelligence

See more from me