Skip to content

screamlab/jpack5_yolo_opencv_image

Repository files navigation

ros2_yolo_integration

yolo_pkg

Usage

  1. Run the provided activation script to start the container and prepare the environment
./yolo_activate.sh
  1. Do colcon build and source ./install/setup.bash
r
  1. Run yolo node
ros2 run yolo_pkg yolo_detection_node

class diagram

Logo

yolo_example_pkg

This is a ROS 2 project for integrating YOLO with ROS 2, providing functionality for real-time object detection and bounding box visualization.

Features

  • Receive compressed images from the /yolo/detection/compressed topic.
  • Process images to convert them into OpenCV format.
  • Draw bounding boxes around detected objects on the images.
  • Publish processed images back to the /yolo/detection/compressed topic, which includes the drawn bounding boxes.

Usage

  1. Run the provided activation script to start the container and prepare the environment
./yolo_activate.sh
  1. Do colcon build and source ./install/setup.bash
r
  1. Run yolo node
ros2 run yolo_example_pkg yolo_node