diff --git a/LICENSE b/LICENSE index 398e242..5a7951c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2018, Douglas De Rizzo Meneghetti +Copyright (c) 2019, Douglas De Rizzo Meneghetti All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/package.xml b/package.xml index 2d808db..24cc32a 100644 --- a/package.xml +++ b/package.xml @@ -1,7 +1,7 @@ dodo_detector_ros - 0.2.0 + 0.2.1 A package for object detection and localization using computer vision and IR sensors. diff --git a/src/detector.py b/src/detector.py index 4b574e2..50d3b91 100644 --- a/src/detector.py +++ b/src/detector.py @@ -143,9 +143,9 @@ def run(self): rospy.logdebug('Found ' + str(len(objects[obj_class])) + ' object(s) of type ' + obj_class) for obj_type_index, coordinates in enumerate(objects[obj_class]): - rospy.logdebug('...' + obj_class + ' ' + str(obj_type_index) + ' at ' + str(coordinates)) + rospy.logdebug('...' + obj_class + ' ' + str(obj_type_index) + ' at ' + str(coordinates['box'])) - ymin, xmin, ymax, xmax = coordinates + ymin, xmin, ymax, xmax = coordinates['box'] y_center = ymax - ((ymax - ymin) / 2) x_center = xmax - ((xmax - xmin) / 2)