← Back to Modules

Launch the Object Detection Node

Use the provided launch file to start the object detection node with default parameters. This node runs a YOLOv11n model on your Hailo hardware and publishes detections.

With the obj_detect package built and your workspace sourced, you can start the object detection node using its launch file. This will load the model located at /home/rcr/repos/common_platform/models/yolov11n_2cls.hef, run inference on images from your camera topic and publish detection results on the /detect topic. The default parameters use a confidence threshold of 0.5 and input size 640×640.

bash
ros2 launch obj_detect object_detector.launch.py

Subscribe to our newsletter

The latest educational robotics news and articles, sent to your inbox weekly.