From 4340f4225e499e482c3a8fa1e111bf0ab3ea3f0b Mon Sep 17 00:00:00 2001 From: Ken Haagh Date: Thu, 14 Dec 2023 16:02:10 +0100 Subject: [PATCH] save data fix 2 Signed-off-by: Ken Haagh --- people_tracking/src/people_tracking/person_detection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/people_tracking/src/people_tracking/person_detection.py b/people_tracking/src/people_tracking/person_detection.py index 73de144..e632617 100755 --- a/people_tracking/src/people_tracking/person_detection.py +++ b/people_tracking/src/people_tracking/person_detection.py @@ -124,7 +124,7 @@ def process_latest_image(self): # Import Depth Image if depth_camera: - depth_image = self.request_depth_image(self.latest_image_time)#self.request_depth_image(self.latest_image_time).image + depth_image = self.request_depth_image(self.latest_image_time).image cv_depth_image = self.bridge.imgmsg_to_cv2(depth_image, desired_encoding='passthrough') cv_depth_image = cv2.GaussianBlur(cv_depth_image, (5, 5), 0)