From 684d51bea63d1928816fe28c753677e8dda67e5d Mon Sep 17 00:00:00 2001 From: Benteng Ma Date: Tue, 5 Dec 2023 18:30:30 +0000 Subject: [PATCH] testtesttest --- .../vision/lasr_vision_msgs/srv/TorchFaceFeatureDetection.srv | 1 + skills/src/lasr_skills/describe_people.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/vision/lasr_vision_msgs/srv/TorchFaceFeatureDetection.srv b/common/vision/lasr_vision_msgs/srv/TorchFaceFeatureDetection.srv index 2edc1abba..db88a8041 100644 --- a/common/vision/lasr_vision_msgs/srv/TorchFaceFeatureDetection.srv +++ b/common/vision/lasr_vision_msgs/srv/TorchFaceFeatureDetection.srv @@ -1,5 +1,6 @@ # Image to run inference on sensor_msgs/Image image_raw + --- # Detection result lasr_vision_msgs/FeatureWithColour[] detected_features \ No newline at end of file diff --git a/skills/src/lasr_skills/describe_people.py b/skills/src/lasr_skills/describe_people.py index 762e705c7..a6ed0256f 100644 --- a/skills/src/lasr_skills/describe_people.py +++ b/skills/src/lasr_skills/describe_people.py @@ -184,7 +184,7 @@ def execute(self, userdata): msg = cv2_img.cv2_img_to_msg(face_region) features.extend(self.torch_face_features( - msg).detected_features) + msg, False).detected_features) except Exception as e: rospy.logerr(f"Failed to process extraction: {e}")