Git Product home page Git Product logo

corner-detection-and-image-stitching-to-create-panorama-view's Introduction

Corner-Detection-and-Image-Stitching-to-create-Panorama-View

The First Part of the code consists of a pipeline to detect the page corners in a video frame. The Second Part of the code is stitching an image taken from different perspectives using Homography Calculation and Warp Perspective

For Corner Detection the Video can be found at here

  1. Read the video and extract individual frames using OpenCV.
  2. Skip blurry frames (use Variance of the Laplacian and decide a suitable threshold) Note: Any value below 150 for the Variance of the Laplacian, suggests that it’s a blurry image.
  3. Segment out the unwanted background area (example: convert to gray scale and keep white regions)
  4. Detect edges pixels in each frame using Canny Edge Detector
image
  1. Use the detected edge pixels to extract straight lines in each frame (hint: use Hough Transform)
  2. Filter out “short” lines and only keep a few dominant lines.
  3. Compute the intersections of the Hough Lines – these are the putative corners of the paper.
  4. Verify the existence of those corners with Harris corner detector. (use OpenCV built-in function)
image
  1. Filter out remaining extraneous corners that are not the 4 corners of the paper.
image
  1. Generate the output video in which you have to overlay the 4 blue boundary lines and 4 red corners of the paperin each frame (excluding the blurry frames)

For Image Stitching the Images can be found here

  1. Load the images

    image
  2. Obtain the best best Matches between conscutive images using FLANN based KNN matches

    image
  3. Obtaining Homographies between adjacent images and Warping perspective.

  4. Attching the warped perspective along the destination image.

    image

corner-detection-and-image-stitching-to-create-panorama-view's People

Contributors

robosac333 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.