MNN icon indicating copy to clipboard operation
MNN copied to clipboard

MNN.cv has the rotation issue in loading some photos from the phone

Open happylusa-liu opened this issue 1 year ago • 1 comments

Version

https://pypi.org/project/MNN/ MNN==2.8.3

Issue

I think there is something wrong in the imread() function inside of MNN.cv package. MNN.cv.imread(image_path) will return an image with clockwise version of the original image but opencv-python could return a correct image without rotation for the same image.

happylusa-liu avatar May 30 '24 03:05 happylusa-liu

MNN.cv use stbi. It currently don't support load rotation info from jpg's exif. We will fix it later.

jxt1234 avatar May 30 '24 09:05 jxt1234

Marking as stale. No activity in 60 days.

github-actions[bot] avatar Jul 29 '24 09:07 github-actions[bot]