Skip to content

A panoramic image stitching tool made with OpenCV and Python

License

Notifications You must be signed in to change notification settings

kupiakos/image-stitcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-stitcher

An panoramic image stitching tool made with OpenCV and Python. It supports arbitrarily large numbers of files, automatically detects centered images, has good configuration options, and basic color correction! Transparency in images is also supported by default.

Example

Say we have these three images in the demo directory.

Left Image Center Image Right Image

We can use the following command to combine the three into one image, performing color correction and giving basic log output.

./stitcher.py demo/squaw_peak?_600.jpg -vco demo/squaw_peak_merged_600.png

That results in this image:

Neat, huh? For extra documentation, run ./stitcher.py --help, or just read the source.

Installation

NumPy, SciPy, Matplotlib, and OpenCV all need to be installed to Python 3.

Most importantly, this script requires an OpenCV build with SIFT support. I might implement ORB support at sometime in the future. Since SIFT's not installed by default (as it's nonfree), you'll probably have to compile OpenCV on your own. I highly recommend this tutorial on building OpenCV with full support for everything. Just modify it a bit for OpenCV 3.2.

Bugs

Probably.

Releases

No releases published

Packages

No packages published

Languages