UPDATE Vision 修复Z轴抓取

This commit is contained in:
HJW
2025-01-17 08:58:19 +08:00
parent 65b262079b
commit fd7b49bfa7
4 changed files with 4 additions and 0 deletions

View File

@ -618,6 +618,7 @@ class Detection:
print("RVC X Camera is not opened!")
return 0, None, None, None, None
def get_take_photo_position(self, Height_reduce = 30, width_reduce = 30):
"""
检测当前拍照点能否检测到料袋

View File

@ -25,6 +25,7 @@ from Vision.tool.utils import uv_to_XY
from Vision.tool.utils import fit_plane_vision
import os
class Detection_plane_vsion:
def __init__(self, use_openvino_model=False, cameraType = 'RVC'):

View File

@ -151,6 +151,7 @@ def remove_nan(pm, y, x):
break
return point_x, point_y, point_z
def get_disk_space(path='C:'):
usage = psutil.disk_usage(path)

View File

@ -104,6 +104,7 @@ def HIK_Camera_test():
img = cv2.resize(frame, (800, 600))
cv2.imshow('img', img)
cv2.waitKey(1)
def detectionBagNum_test():
detectionBagNum = DetectionBagNum()
video_path = ''.join([os.getcwd(), '/Vision/model/data/2.mp4'])