You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some images (mainly the ones taken with a phone) the library inverts height and width dimensions.
For the attached image (which is a landscape image of a document)
the following code: get_image_size.get_image_metadata('test.jpg') returns
For some images (mainly the ones taken with a phone) the library inverts height and width dimensions.
For the attached image (which is a landscape image of a document)
get_image_size.get_image_metadata('test.jpg')
returnscv2.imread('test.jpg')).shape
returns(747, 1080, 3) # height, width, channels
.(We get the same value as opencv when using skimage imread).
The text was updated successfully, but these errors were encountered: