Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ROS2 Package for instance segmentation using the YoloV8 segmentation model and a Intel Realsense D435 camera

License

Notifications You must be signed in to change notification settings

seriopierpaolo/yolov8_ros2

 
 

Repository files navigation

yolov8_ros2

Package provides functionalities for using the Intel Realsense D435 camera combined with the yoloV8 object segmentation model implemented using ROS2.

Required libraries

Python3

pip install open3d
pip install ultralytics

Quick Start

Install colcon and rosdep, then build this repository:

mkdir -p ~/ros2_ws/src && cd ~/ros2_ws/src
git clone https://github.com/andreasHovaldt/yolov8_ros2.git
cd ~/ros2_ws
rosdep install --from-paths src --ignore-src -r -y
colcon build --symlink-install
source ~/ros2_ws/install/setup.bash

Run code

ros2 launch yolov8_ros2 camera_yolo.launch.py

This launches the camera node, and the yolov8 node. The image prediction results of the yolov8 segmentation are published to the topic: /yolo/prediction/image. These results are also published in a json formatted string to the topic: /yolo/prediction/item_dict.

About

ROS2 Package for instance segmentation using the YoloV8 segmentation model and a Intel Realsense D435 camera

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.1%
  • Shell 5.3%
  • Dockerfile 4.6%