Giter Club home page Giter Club logo

rgbd-to-point-cloud's Introduction

From RGB-D images to Complete Point Clouds.

gif-rgb-d-to-pc

This repository represents the end-to-end pipeline of our multi-stage RGB-D image to point cloud completion architecture using two deep neural networks. It contains the following components:

  • Web Component: RESTful web client for uploading YCB-Video data set frames and specifying the object you want to complete.
  • VSN Component: Contains the customized Vanilla SegNet model for semantic segmentation and its dependencies.
  • MSN Component: Contains the customized Morphing and Sampling Network for point cloud completion and its dependencies.

Each of the components is containerized using Docker, thus they are all self-contained so that no dependencies need to be installed other than Docker the ones listed below in the setup instructions.

Watch this video to see the GUI in action. You can also find more details on the project here.

Setup

Beware that you need a GPU to run the pipeline!

  1. Download the Docker client for your OS.

    If you are on a Linux system, make sure to add your user to the docker group as described here.

  2. The Morphing and Sampling Network can only be executed on a GPU, hence you will also need Nvidia-docker.
  3. Install Node.js
  4. Install yarn
  5. Clone this repository locally.

Run instructions

  1. Run bash setup.sh in the root of this repo to clone the VSN, MSN and Web Component repos and to create the necessary files on your machine automatically. Be patient, it takes a while initially :) By default, all the files will be created in the directory $HOME/Desktop/CVP. If you want to change this, you can pass a different path using the -d option when running setup.sh.
  2. Download both network weight files from GDrive and move them to $HOME/Desktop/CVP/pipeline/models or under pipeline/models at the custom location you specified using -d.
  3. Run bash ./run/start-web-app.sh. Add the -d option if you used it while running setup.sh.
  4. In a new terminal window run bash ./run/start-vsn.sh. Add the -d option if you used it while running setup.sh.
  5. In a new terminal window run bash ./run/start-msn.sh. Add the -d option if you used it while running setup.sh.
  6. Navigate to http://0.0.0.0:5000 to see the Web Component's user interface.
  7. Pick the YCB object you want to create a completed point cloud for in the dropdown.
  8. Select files from the $HOME/Desktop/CVP/pipeline/example_inputs directory (or where you specified using -d) corresponding to the object you picked (banana, bleach cleanser, power drill or scissors). Make sure to select all files belonging to the frame: <frame-id>-color.png, <frame-id>-depth.png and <frame-id>-meta.mat.
  9. Wait for the completion to finish. It will take 15+ seconds for both networks to process the inputs (depends on your GPU).
  10. Enjoy the resulting partial and completed point cloud displays directly in the browser. You can zoom in and rotate them within the display windows.

Component repos

You can check out the other component repos on Gitlab.

Original network repos

rgbd-to-point-cloud's People

Contributors

stefaniestoppel avatar

Stargazers

Mona Jalal avatar  avatar Yousra Shleibik avatar Chun Wai Lau, David avatar

Watchers

James Cloos avatar  avatar Mona Jalal avatar Chun Wai Lau, David 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.