stage_one
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user