📜  在opencv2 python代码示例中旋转图片

📅  最后修改于: 2022-03-11 14:46:07.903000             🧑  作者: Mango

代码示例1
# 90degree
image = cv2.rotate(src, cv2.cv2.ROTATE_90_CLOCKWISE)
# 180 degrees
image = cv2.rotate(src, cv2.ROTATE_180)
# 270 degrees
image = cv2.rotate(src, cv2.ROTATE_90_COUNTERCLOCKWISE)