Answers for "how to rotate an image using opencv in python"

3

rotate picture in opencv2 python

# 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)
Posted by: Guest on June-18-2021

Code answers related to "how to rotate an image using opencv in python"

Python Answers by Framework

Browse Popular Code Answers by Language