Skip to content

Commit

Permalink
Update topic name to Detected_Objects
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGuamanDavila committed Jan 13, 2024
1 parent 9048fbc commit f972d6b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/object_detection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<object_detection_pkg::ObjDetected>("/raw_image_copy", 1);
publisher = nh_.advertise<object_detection_pkg::ObjDetected>("/Detected_Objects", 1);
}

// Function to continue the life of the node
Expand Down
1 change: 1 addition & 0 deletions temp_files/detected_objects.json
Original file line number Diff line number Diff line change
@@ -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}]
Binary file added temp_files/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f972d6b

Please sign in to comment.