Skip to content

CMSC 733 Project 1 - AutoPano: Repository for image stitching using traditional CV and deep learning approach

License

Notifications You must be signed in to change notification settings

iamjadhav/autopano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autopano

License: MIT

CMSC 733 Project 1 - AutoPano: Repository for image stitching using traditional CV and deep learning approach


Contributors

  1. Abhishek Nalawade Graduate Student of M.Eng Robotics at University of Maryland.
  2. Aditya Jadhav Graduate Student of M.Eng Robotics at University of Maryland.

Overview

The repository contains our efforts aimed at stitching two or more images for creating uninterrupted Panorama. The report contains a detailed solution to Phase 1 and Phase 2 of the Panorama Problem. Phase -1 uses traditional Computer Vision techniques and the Phase - 2 makes use of a Deep-Learning approach. The first method uses the Homography Matrix between two images and the second method uses Supervised and Unsupervised Neural Networks to achieve the stitching.

Technology Used

We used the following tools and systems:

  • Ubuntu 18.04 LTS
  • Python Programming Language
  • OpenCV Library
  • NumPy Library
  • TensorFlow
  • Pandas

License

MIT License

Copyright (c) 2022 Abhishek Nalawade, Aditya Jadhav

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE.

Results

  • Corner Detection

cornersCustomSet12

  • ANMS

anmsSet12

  • Feature Matching

matchingCustomSet2

  • Blending

mypanoCustomSet2

mypanoSet1

  • Deep Learning Results

stacked44

stacked47

Known Issues/Bugs

  • The Supervised Network accuracy needs much better tuning

Dependencies

  • Install OpenCV 4.0, Tensorflow 2.8, Cuda 11.2 and Cudnn 8.1.0

How to build

git clone --recursive https://github.com/iamjadhav/autopano.git
cd autopano
  • Phase - 1
cd Phase1\Code
python Wrapper.py --path Train/Set1 --save True
  • Results Phase1:

The results for Phase one are saved in Phase1/Code/results. The image corners.png can be found inside Corners folder at above path. The image anms.png can be found inside ANMS folder at above path

  • Phase - 2
  • Data Generation:
cd Phase2\Code
python Wrapper.py
  • Supervised Network:

  • Training:

python Train.py --BasePath ../Data/Trained_ --CheckPointPath ../Checkpoints/supervised/ --ModelType sup --NumEpochs 100 --DivTrain 1 --MiniBatchSize 64 --LoadCheckPoint 0 --LogsPath ./Logs/supervised/
  • Testing:
python Test.py --ModelPath ../Checkpoints/supervised/99model.ckpt --BasePath ../Data/Validated_ --SavePath ./Results/ --ModelType sup 
  • Unsupervised Network:

  • Training:

python Train.py --BasePath ../Data/Trained_ --CheckPointPath ../Checkpoints/unsupervised/ --ModelType Unsup --NumEpochs 100 --DivTrain 1 --MiniBatchSize 64 --LoadCheckPoint 0 --LogsPath ./Logs/unsupervised/
  • Testing:
python Test.py --ModelPath ../Checkpoints/unsupervised/99model.ckpt --BasePath ../Data/Validated_ --CheckPointPath ../Checkpoints/unsupervised/ --SavePath ./Results/ --ModelType Unsup
  • Results Phase2:

Phase2 Results are inside the Results folder in the Code directory.

About

CMSC 733 Project 1 - AutoPano: Repository for image stitching using traditional CV and deep learning approach

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages