rotate picture in opencv2 python

Solutions on MaxInterview for rotate picture in opencv2 python by the best coders in the world

showing results for - "rotate picture in opencv2 python"
Lina
17 Nov 2016
1# 90degree
2image = cv2.rotate(src, cv2.cv2.ROTATE_90_CLOCKWISE)
3# 180 degrees
4image = cv2.rotate(src, cv2.ROTATE_180)
5# 270 degrees
6image = cv2.rotate(src, cv2.ROTATE_90_COUNTERCLOCKWISE)