This ROS 2 package provides functionality for object detection using various methods.
- ROS 2 Humble
- Python 3.x
git clone <repository_url>
cd object_detection
colcon build
source /install/setup.bash
Fix the Filepath in image_converter_yolo.py
rclpy
sensor_msgs
cv_bridge
numpy
colorsys
ultralytis
sudo apt install ros-humble-rclpy ros-humble-sensor-msgs ros-humble-cv-bridge python3-numpy python3-colorsys
pip3 install openpifpaf ultralytics numpy opencv-python
ros2 run object_detection image_converter_openpifpaf
ros2 run object_detection image_converter_yolo
It publishes a topic called converted_image