remove depth and fix normal -> vnormal

This commit is contained in:
bluepulsar
2025-12-28 18:52:55 +08:00
parent 6ec9eaa334
commit 4192683271
12 changed files with 54 additions and 60 deletions
+2 -10
View File
@@ -58,14 +58,12 @@ def main():
# 其他:
# - FPS: 当前帧率
# - TIMESTAMP: 时间戳字符串
# - DEPTH: 深度图(归一化 0-1)
fps, fn, fx, fy, flow, depth = sensor.read_info(
fps, fn, fx, fy, flow = sensor.read_info(
sensor.info.FPS,
sensor.info.FNORMAL,
sensor.info.FSHEARX,
sensor.info.FSHEARY,
sensor.info.VRAW,
sensor.info.DEPTH
sensor.info.VRAW
)
# 打印力的数值
@@ -90,12 +88,6 @@ def main():
)
cv2.imshow("形变场 Deformation", arrows)
# 绘制深度图(热力图)
depth_img = cv2.applyColorMap(
(depth * 255.0).astype('uint8'),
cv2.COLORMAP_HOT
)
cv2.imshow("深度图 Depth", depth_img)
# =====================================================================
# 4. 键盘控制