From bc6be36e8c57ed60a82e8594b2ffaa4ec2302226 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Tue, 12 Mar 2024 11:39:43 +0100 Subject: [PATCH] (2d) get rid of implementation names --- .../scripts/people_recognition_2d_node | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/people_recognition_2d/scripts/people_recognition_2d_node b/people_recognition_2d/scripts/people_recognition_2d_node index 95b629f..88703e3 100755 --- a/people_recognition_2d/scripts/people_recognition_2d_node +++ b/people_recognition_2d/scripts/people_recognition_2d_node @@ -11,16 +11,16 @@ from sensor_msgs.msg import Image class PeopleRecognition2DNode: def __init__(self): - openpose_srv_name = self._get_param('~openpose_srv_name', "openpose/recognize") - openface_srv_name = self._get_param('~openface_srv_name', "face_recognition/recognize") - keras_srv_name = self._get_param('~keras_srv_name', "face_recognition/get_face_properties") + pose_est_srv_name = self._get_param('~pose_est_srv_name', "pose_estimation/recognize") + face_reg_srv_name = self._get_param('~face_reg_srv_name', "face_recognition/recognize") + face_prop_srv_name = self._get_param('~face_prop_srv_name', "face_recognition/get_face_properties") color_extractor_srv_name = self._get_param('~color_extractor_srv_name', "extract_color") enable_age_gender_detection = self._get_param('~enable_age_gender_detection', True) enable_shirt_color_extraction = self._get_param('~enable_shirt_color_extraction', True) - self._people_recognizer = PeopleRecognizer2D(openpose_srv_name, - openface_srv_name, - keras_srv_name, + self._people_recognizer = PeopleRecognizer2D(pose_est_srv_name, + face_reg_srv_name, + face_prop_srv_name, color_extractor_srv_name, enable_age_gender_detection, enable_shirt_color_extraction,