rotate picture in opencv2 python

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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)