Giter Club home page Giter Club logo

mask_rcnn_ros's Introduction

The ROS Package of Mask R-CNN for Object Detection and Segmentation

This is a ROS package of Mask R-CNN algorithm for object detection and segmentation.

The package contains ROS node of Mask R-CNN with topic-based ROS interface.

Most of core algorithm code was based on Mask R-CNN implementation by Matterport, Inc.

Training

This repository doesn't contain code for training Mask R-CNN network model. If you want to train the model on youer own class definition or dataset, try it on the upstream reposity and give the result weight to model_path parameter.

Requirements

  • ROS kinetic
  • TensorFlow 1.3+
  • Keras 2.0.8+
  • Numpy, skimage, scipy, Pillow, cython, h5py

ROS Interfaces

Parameters

  • ~model_path: string

    Path to the HDF5 model file. If the model_path is default value and the file doesn't exist, the node automatically downloads the file.

    Default: $ROS_HOME/mask_rcnn_coco.h5

  • ~visualization: bool

    If true, the node publish visualized images to ~visualization topic. Default: true

  • ~class_names: string[]

    Class names to be treated as detection targets. Default: All MS COCO classes.

Topics Published

  • ~result: mask_rcnn_ros/Result

    Result of detection. See also Result.msg for detailed description.

  • ~visualization: sensor_mgs/Image

    Visualized result over an input image.

Topics Subscribed

  • ~input: sensor_msgs/Image

    Input image to be proccessed

Getting Started

  1. Clone this repository to your catkin workspace
  2. Build workspace and source devel environment
  3. Run mask_rcnn node
    $ rosrun mask_rcnn_ros mask_rcnn_node

Example

There is a simple example launch file using RGB-D SLAM Dataset.

$ cd mask_rcnn_ros/examples
$ ./download_example_bag.sh
$ roslaunch example.launch

Then RViz window will appear and show result like following:

example1

example2

mask_rcnn_ros's People

Contributors

waleedka avatar philferriere avatar akio avatar jningwei avatar gakarak avatar imgyuri avatar otl avatar jmtatsch avatar llltttppp avatar np-csu avatar

Watchers

 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.