Skip to content

Commit

Permalink
z_pos update
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 48ffbf3 commit fc8ad75
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 @@ -161,7 +161,7 @@ def process_latest_image(self):

# Extract the values based on the mask
masked_pixels = cv_depth_image[mask_depth]
median_color = np.median(masked_pixels)
median_color = cv2.mean(cv_depth_image, mask=mask_depth)#np.median(masked_pixels)
# print("Median color:", median_color)


Expand Down

0 comments on commit fc8ad75

Please sign in to comment.