stage_one
This commit is contained in:
@ -229,6 +229,8 @@ if __name__ == "__main__":
|
||||
# if frame is None:
|
||||
# print(f"[ERROR] 无法读取图像: {IMAGE_PATH}")
|
||||
# else:
|
||||
# image=cv2.flip(image, 0)
|
||||
# image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
||||
# angle_deg, output_image = detect_two_box_angle(MODEL_PATH, frame)
|
||||
# if angle_deg is not None:
|
||||
# print(f"检测到的角度差: {angle_deg:.2f}°")
|
||||
|
||||
Reference in New Issue
Block a user