Giter Site home page Giter Site logo

hybrid-sptam's Introduction

#STEPS to RUN

Essential steps before running

  1. Create a sample of images whose ground-truth poses and ground-truth corners of the semantics present in them are available
  2. Place the ground-truth poses inside the SPTAM folder. You can find a sample file present in the SPTAM folder
  3. Update the config file for dataset paths and characteristic images

Training object detection model

  1. Go to the object_detection folder, there you will find two directories, object_detector (to train over permanent objects), and alphabet_detector (to train over temporarily placed alphabet placards).
  2. Go to object_detector and run train.py to train the object detection model
  3. Go to alphabet_detector and run train.py to train alphabet detection model

Training Place Recognition model

  1. Sampled out images from the images with the ground-truth poses for creating characteristic images
  2. Assign a sample of images from the dataset the labels from their corresponding characteristic image.
  3. Inside Place_recognition, run generate_semantic_enhanced_images.py to generate semantically enhanced images.
  4. Run training_with_semantics.py inside the Place_recognition to train the place recognition model

Inference Object detection and Place recognition outputs

  1. Run final_pipeline.py inside Place_recognition to generate a json file

Inference Corner Detection output

  1. Run run.py inside corner_detection to generate object corners in two json files (one each for left and right images).

Installing and Running SPTAM

  1. To install SPTAM, refer and follow the steps from: https://github.com/uoip/stereo_ptam
  2. Run place_image.py inside SPTAM
  3. Run sptam.py --path=/path/to/dataset to generate final_positions.txt (inside output_files directory) as the final results.

hybrid-sptam's People

Contributors

drv-agwl 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.