GithubHelp home page GithubHelp logo

thesis's Introduction

Installation

Clone the repository:

git clone --recurse-submodules [email protected]:AyonRRahman/Thesis.git

Data

Download the Eiffel Tower dataset and use colmap to undistort images

cd data
chmod +x datasetup_Eiffel_Tower.sh
./datasetup_Eiffel_Tower.sh

Prepare the dataset for training in SC-SFMlearner:

run the crop_and_downscale_colmap_undistorted_image() function in utils.data.py to prepare the the Eiffel-Tower dataset for training.

Create the ground truth trajectory using utils.utils.export_trajectory() function in the kitty format.

Or undistort using opencv to keep the image dimension same and prepare for training:

cd data
python undistort_Eiffel_tower_using_opencv.py

use Downscale_image function from utils.data to downscale the images.

Creating Depth Maps from SFM files for validation

Using these repositories: Maxime Ferrera's Script and OpenMVS.
Build Maxime Ferrera's Script according to the mentioned method in the repository in the thirdparty folder.
Use docker file given in the OpenMVS to build a docker container.

convert the colmap model and start the docker for openMVS in the undistorted(colmap) folder

python create_txt_files_for_colmap_model.py
../Thirdparty/openMVS/docker/QUICK_START.sh ./Eiffel-Tower_undistorted

In the terminal of the docker container for each folder(2020, 2015, 2016, 2018) of data do this:

InterfaceCOLMAP -i ./2020 -o ./2020/scene.mvs --image-folder ./2020/images
ReconstructMesh ./2020/scene.mvs -o ./2020/scene.ply

now from the native terminal:

sudo ./Create_depth_images.sh 

Crop and downscale image and depth and creating the mask

use the functions crop_and_downscale_colmap_undistorted_image to crop and downscale images and depth. Use generate_mask_from_depth to get the masks.

Download the Kitty Raw dataset

Official link to download the dataset: http://www.cvlibs.net/download.php?file=raw_data_downloader.zip

cd data
mkdir Kitty_raw
cp Kitty_raw_data_downloader.sh Kitty_raw
cd Kitty_raw
./Kitty_raw_data_downloader.sh

thesis's People

Contributors

ayonrrahman avatar

Stargazers

Ricard Marxer avatar

Watchers

Ricard Marxer avatar Maxime Ferrera avatar  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.