In this repository, I compiled the source code using ROS and Pyhon2.7
DeepLab: Deep Labelling for Semantic Image Segmentation for ROS
- ROS Kinetic(ubuntu 16.04)
- Python2.7+
- Opencv3.3+
- tensorflow1.4+
- DeepLabv3
$ git clone https://github.com/Sadaku1993/deeplab_ros
$ cd catkin_ws
$ catkin make
See the TensorFlow DeepLab Model Zoo
$ roscd deeplab_ros
$ cd deeplab
$ wget http://download.tensorflow.org/models/deeplabv3_mnv2_pascal_train_aug_2018_01_29.tar.gz
$ roscd deeplab_ros/deeplab
$ vim deeplab_ros.py
deeplab_ros.py
MODEL_NAME = 'deeplabv3_mnv2_pascal_train_aug_2018_01_29.tar.gz'
# MODEL_NAME = 'deeplabv3_mnv2_cityscapes_train_2018_02_05.tar.gz'
$ roscd deeplab_ros/launch
$ vim deeplab_ros.launch
deeplab_ros.launch
image : Subscribe Topic(sensor_msgs/Image)
deeplab/image : Publish Topic(sensor_msgs/Image)
$ roslaunch deeplab_ros deeplab_ros.launch