remove depth and fix normal -> vnormal
This commit is contained in:
@@ -44,7 +44,7 @@ def main():
|
||||
'cal_path': './config/cal.npy'
|
||||
},
|
||||
{
|
||||
'vid_src': './s1_copy.mp4',
|
||||
'vid_src': './s1.mp4',
|
||||
'isstitch': True,
|
||||
'cuda': True,
|
||||
'cal_path': './config/cal.npy'
|
||||
@@ -84,13 +84,6 @@ def main():
|
||||
)
|
||||
cv2.imshow(f"传感器 {sid} - 形变", arrows)
|
||||
|
||||
# 显示深度图
|
||||
if data['depth'] is not None:
|
||||
depth_img = cv2.applyColorMap(
|
||||
(data['depth'] * 255).astype('uint8'),
|
||||
cv2.COLORMAP_HOT
|
||||
)
|
||||
cv2.imshow(f"传感器 {sid} - 深度", depth_img)
|
||||
|
||||
# 检查退出键
|
||||
if cv2.waitKey(1) & 0xFF == ord('q'):
|
||||
|
||||
Reference in New Issue
Block a user