stage_one

This commit is contained in:
2025-12-12 18:00:14 +08:00
parent dc4ef9002e
commit b8b9679bc8
55 changed files with 6541 additions and 459 deletions

View File

@ -62,8 +62,12 @@ class VisionDetector:
"""
通过视觉系统获取当前出砼门角度
"""
# image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
# if image is None:
# image=cv2.imread(os.path.join(app_set_config.project_root,'test.jpg'))
image=cv2.flip(image, 0)
# image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
# cv2.imshow('test',image)
return get_current_door_angle(
model=app_set_config.angle_model_path,
image=image