From 2b5ce3b48b0ba22358720cb78792f2d05ae86b86 Mon Sep 17 00:00:00 2001 From: Gustavo David Cordova Cardenas <99350669+GustavoDCC@users.noreply.github.com> Date: Tue, 16 Apr 2024 20:49:58 +0200 Subject: [PATCH] (3d) fix keyword arg name (#57) fix data type --- .../src/people_recognition_3d/people_recognizer_3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/people_recognition_3d/src/people_recognition_3d/people_recognizer_3d.py b/people_recognition_3d/src/people_recognition_3d/people_recognizer_3d.py index 18d0093..9c0475c 100644 --- a/people_recognition_3d/src/people_recognition_3d/people_recognizer_3d.py +++ b/people_recognition_3d/src/people_recognition_3d/people_recognizer_3d.py @@ -225,7 +225,7 @@ def recognize(self, rgb: Image, depth: Image, camera_info: CameraInfo): # Starting value of group_id is 1 max_group = max(person2d.body_parts[0].group_id for person2d in people2d) if people2d else 0 rospy.logdebug("Creating {} color maps for 3D skeleton visualization".format(max_group + 1)) - cmap = color_map(N=max_group+1, normalized=True) + cmap = color_map(n=max_group+1, normalized=True) markers = MarkerArray() delete_all = Marker(action=Marker.DELETEALL)