Skip to content

Commit

Permalink
(2d) get rid of implementation names
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Mar 12, 2024
1 parent b4fe9f4 commit bc6be36
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions people_recognition_2d/scripts/people_recognition_2d_node
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bc6be36

Please sign in to comment.