Skip to content

Commit

Permalink
depth image fix 2
Browse files Browse the repository at this point in the history
Signed-off-by: Ken Haagh <[email protected]>
  • Loading branch information
KenH2 committed Dec 14, 2023
1 parent 1014c3e commit 8168c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion people_tracking/src/people_tracking/person_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).image
depth_image = self.request_depth_image(self.latest_image_time)#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)
else:
Expand Down

0 comments on commit 8168c44

Please sign in to comment.