Code Monkey home page Code Monkey logo

ldls_ros's Introduction

LDLS ROS

ROS package for LDLS (Label Diffusion Lidar Segmentation)

Currently, this code only supports offline processing by reading lidar point clouds and camera images from an input rosbag, and then writing Mask-RCNN and LDLS results to an output rosbag. It is assumed that the input rosbag includes one lidar point cloud for each image, and vice versa, and the two are synchronized in time.

Requires ROS kinetic, and an Nvidia GPU. Tested on an Ubuntu 16.04 computer with an Nvidia GTX 1060.

Dependencies

The Mask-RCNN ROS package from https://github.com/akio/mask_rcnn_ros must be installed

Also required are numba (with CUDA support), and cupy.

Usage

To generate Mask-RCNN results: python write_mrcnn_results.py PATH_TO_LIDAR_AND_IMAGES_ROSBAG.bag

Rosbag with Mask-RCNN results will be written to mrcnn.bag

To generate LDLS results: python write_ldls_results.py mrcnn.bag

Rosbag with LDLS results will be written to ldls.bag

The image_topic variable in write_mrccn_bag.py and the lidar_topic variable in write_ldls_bag.py should be changed to the correct image and Velodyne/lidar topic names for your rosbag data. Note you'll also need to update the camera intrinsic parameters and camera-lidar calibration parameters to get good results (see lines 94-107 of write_ldls_bag.py)

Please see the msg/Segmentation.msg file for specification of the output Segmentation message type, which includes labeled points for detected object instances.

ldls_ros's People

Contributors

brian-h-wang avatar

Stargazers

 avatar

ldls_ros's Issues

LIDAR_AND_IMAGES.bag is missing

Hi Brian,
thanks for sharing your work! Would it be possible for you to kindly share the example LIDAR_AND_IMAGES.bag file you have mentioned in your readme.
Did you use kitti2bag? The topics you reference in your code are not available in the kitti2bag output rosbags..

Thanks and kind regards,
Timea

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.