UPDATE Vision 保存图片和点云
This commit is contained in:
@ -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)
|
||||
Reference in New Issue
Block a user