title: Image Orientation (python+openCV)
body: <p>Using Python and OpenCV, I try to read an image which size is (3264*2448), but the resulting size is always (2448*3264). That means the direction of the image is changed by 90 degrees. The code is following:</p>
  
  <pre><code>img1 = cv2.imread("C:\\Users\\test.jpg", 0) 
  cv2.namedWindow("test", 0) 
  cv2.imshow("test", img1)
  </code></pre>
  
  <p>the orignal image is this:</p>
  
  <p><img src="https://i.stack.imgur.com/pN83r.png" alt="enter image description here"></p>
  
  <p>but I get this image:</p>
  
  <p><img src="https://i.stack.imgur.com/EasBG.png" alt="enter image description here"></p>