Giter Site home page Giter Site logo

nky237 / image-panorama-stitching Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tranleanh/image-panorama-stitching

0.0 0.0 0.0 26.65 MB

An implementation of image panorama stitching project using SIFT and RANSAC algorithms.

Python 0.10% Jupyter Notebook 99.90%

image-panorama-stitching's Introduction

Image Panorama Stitching

Requirements

  • Python 3
  • python-opencv-contrib <= 4.2.1.16

Note

SIFT is no longer available in opencv > 3.4.2.16, you should choose older versions of opencv-python and opencv-contrib-python, the issue can be solved by using the following command lines:

python -m pip install opencv-python==3.4.2.16
python -m pip install opencv-contrib-python==3.4.2.16

Or just execute:

python -m pip install -r requirements.txt

Usage

1. 2 Images Only (panorama.py)

The application can be run by executing:

python panorama.py "left_image_path" "right_image_path"

Example:

python panorama.py images/left.jpg images/right.jpg

2. Multiple Images (multi_image_pano.py: >= 2 images)

The application can be run by executing:

python multi_image_pano.py --images "folder-containing-images-path" --output "output-file"

Example:

python multi_image_pano.py --images images/3_images --output 3_img_pano.jpg

Results

1. 2-Image Panorama

  • Inputs: Left and right images

picture

  • Output:

picture

2. 3-Image Panorama

  • Inputs: 3 images

picture

  • Output:

picture

References

  1. https://github.com/linrl3/Image-Stitching-OpenCV
  2. https://www.pyimagesearch.com/2018/12/17/image-stitching-with-opencv-and-python/
  3. https://medium.com/pylessons/image-stitching-with-opencv-and-python-1ebd9e0a6d78

Nov. 2019

Tran Le Anh

image-panorama-stitching's People

Contributors

tranleanh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.