UPDATE Vision 修复Z轴抓取

This commit is contained in:
HJW
2025-01-17 08:55:30 +08:00
parent a59ae87213
commit 65b262079b
3 changed files with 0 additions and 3 deletions

View File

@ -46,7 +46,6 @@ class Detection_plane_vsion:
self.img = cv2.resize(self.img,((int(self.img.shape[1]/2),int(self.img.shape[0]/2))))
self.point = np.loadtxt(point_path).reshape(self.img.shape[0], self.img.shape[1], 3)
self.seg_distance_threshold = 5
pass
def get_position(self, Point_isVision=False, Box_isPoint=True, First_Depth=True, Iter_Max_Pixel=30,

View File

@ -160,7 +160,6 @@ def get_disk_space(path='C:'):
# space_free = bytes2human(usage.free)
# space_used_percent = bytes2human(usage.percent)
space_free = float(space_free[:-1])
return space_free
def find_position(Depth_Z, RegionalArea, RegionalArea_Threshold, first_depth=True):
if first_depth == True:

View File

@ -96,7 +96,6 @@ def detectionPerson_test():
# cv2.waitKey(1)
# else:
# break
def HIK_Camera_test():
MY_CAMERA = camera_HIK("192.168.1.121", 554, "admin", "zlzk.123")
while True: