UPDATE Vision 保存图片和点云

This commit is contained in:
HJW
2024-09-14 14:41:08 +08:00
parent a058281441
commit 7517e9eac7
6 changed files with 83 additions and 13 deletions

View File

@ -7,7 +7,8 @@
'''
from Vision.camera_coordinate_dete_img import Detection
from Trace.handeye_calibration import *
from Vision.tool.utils import get_disk_space
import platform
import cv2
detection = Detection()
@ -23,4 +24,10 @@ while True:
print("target_position:", target_position)
print("noraml_base", noraml_base)
cv2.imshow('img', img)
cv2.waitKey(0)
cv2.waitKey(0)
# sysstr = platform.system()
# if sysstr == "Windows":
# space_free = get_disk_space(path=os.getcwd())
# else:
# space_free = get_disk_space(path = "D:")
# print('剩余空间: ', space_free)