Code Monkey home page Code Monkey logo

photocat's Introduction

PhotoCAT

Panoramic-Image-Stitching

I have implemented the Panoramic image stitching using invariant features from scratch. Implemented the David Lowe paper on "Image stitching using Invariant features".

NOTE: You can experiment with any images (your own choice). I have experimented with many images. You can check result below. You can find many images in "Image_Data" folder.

CREATE DATA:

  • You can create multiple images like S1.jpg, S2.jpg, S3.jpg, S4.jpg and S5.jpg (shown below) .Make sure there will be some overlapping parts between two consecutive created images in a sequence. then only algorithm will find and match features and create panorama image of all images which you have provided.
  • OR you can directly feed multiple images from camera in a sequence with some overlapping parts between two consecutive images.

Please install Libraries:

  1. Numpy
  2. opencv-contrib-python

TO RUN CODE:

  1. Put images in a folder .

  2. Enter the image name in order of left to right in way of concantenation. Like: Enter the 1 image: S1.jpeg Enter the 2 image: S2.jpeg

  3. Run stitch.py code.

python stitch.py --image <image folder path> --output <output folder path>
  1. Then, you will get your panorama image as stitch.jpeg in your image dataset folder.
  • Used SIFT to detect feature and then RANSAC, compute Homography and matched points and warp prespective to get final panoramic image.

RESULTS:

Result of S1.jpeg, S2.jpeg, S3.jpeg, S4.jpeg and S5.jpeg

alt text

alt text

alt text

alt text

alt text

alt text

alt text

photocat's People

Contributors

rajatrai16921 avatar

Watchers

 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.