diff --git a/src/object_detection.cpp b/src/object_detection.cpp index fc0a6d3..2dc33fc 100755 --- a/src/object_detection.cpp +++ b/src/object_detection.cpp @@ -23,7 +23,7 @@ class Image_Finder { Image_Finder() : nh_("") { // Subscribe to camera topic publishing data sub_img_ = nh_.subscribe("/camera/color/image_raw", 1, &Image_Finder::imageCallback, this); - publisher = nh_.advertise("/raw_image_copy", 1); + publisher = nh_.advertise("/Detected_Objects", 1); } // Function to continue the life of the node diff --git a/temp_files/detected_objects.json b/temp_files/detected_objects.json new file mode 100644 index 0000000..97ce286 --- /dev/null +++ b/temp_files/detected_objects.json @@ -0,0 +1 @@ +[{"class_name": "Buoy", "confidence": 0.6933695077896118, "x_min": 559, "x_max": 639, "y_min": 109, "y_max": 279}, {"class_name": "Buoy", "confidence": 0.8418322801589966, "x_min": 280, "x_max": 395, "y_min": 400, "y_max": 480}] \ No newline at end of file diff --git a/temp_files/image.png b/temp_files/image.png new file mode 100644 index 0000000..41784e2 Binary files /dev/null and b/temp_files/image.png differ