GithubHelp home page GithubHelp logo

pranay731 / kimera-semantics-on-ade20k Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mit-spark/kimera-semantics

2.0 0.0 0.0 78.78 MB

Kimera Semantics on MIT ADE20K dataset with 150 semantic categories.

License: BSD 2-Clause "Simplified" License

CMake 1.10% C++ 98.90%
kimera-semantic

kimera-semantics-on-ade20k's Introduction

Kimera-Semantics on MIT ADE20K Dataset

Forked from Kimera-Semantics by MIT SPARK lab, implementaion over MIT ADE20K Dataset.

Reconstructs 3d environment with semantics containing 150 classes of ADE20K dataset. Requires color, depth and segmented images as input. "README_SPARK.md" should be refered for more info.

1. Installation

A. Prerequisities

sudo apt-get install python-wstool python-catkin-tools  protobuf-compiler autoconf
# Change `melodic` below for your own ROS distro
sudo apt-get install ros-melodic-cmake-modules

B. Kimera-Semantics Installation

Using catkin:

# Setup catkin workspace
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin init
catkin config --extend /opt/ros/melodic
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
catkin config --merge-devel

# Add workspace to bashrc.
echo 'source ~/catkin_ws/devel/setup.bash' >> ~/.bashrc

# Clone repo
cd ~/catkin_ws/src
git clone https://github.com/pranay731/Kimera-Semantics-on-ADE20K.git

# Install dependencies from rosinstall file using wstool
wstool init # Use unless wstool is already initialized

# For ssh:
wstool merge Kimera-Semantics/kimera/install/kimera_semantics_ssh.rosinstall
# For https:
#wstool merge Kimera-Semantics/kimera/install/kimera_semantics_https.rosinstall

# Download and update all dependencies
wstool update

Finally, compile:

# Compile code
catkin build kimera

# Refresh workspace
source ~/catkin_ws/devel/setup.bash

2. Usage

  1. Launch required packages for:

    • Camera color and depth input
    • Semantic Segmentation input
    • Odometry and tf frames
  2. Launch file :

    • left_cam_info_topic -> color camera_info topic
    • left_cam_topic -> color image_raw topic
    • left_cam_depth_topic -> depth image_raw topic
    • left_cam_segmentation_topic -> segmented color image_raw on ADE20K classes
  3. Launch Kimera-Semantics:

roslaunch kimera_semantics_ros kimera_semantics_realsense.launch
  1. Launch rviz for visualization:
source ~/catkin_ws/devel/setup.bash
rviz -d $(rospack find kimera_semantics_ros)/rviz/kimera_semantics_realsense.rviz

If runing in a Gazebo simulation, use 'kimera_semantics_gazebo' launch and rviz files.

kimera-semantics-on-ade20k's People

Contributors

tonirv avatar violetteavi avatar pranay731 avatar marcusabate avatar

Stargazers

QI Xia avatar Shahid sayyed  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.