when I use PIL.Image to input an image, I find the output will be rotated! It's horizontal and vertical flips!
if I use opencv to read and convert to PIL.Image , the output will be normal!
Then I use other different images, they are all normal. it is interesting!
this is my convert function,I think it's right:
❓Question
when I use PIL.Image to input an image, I find the output will be rotated! It's horizontal and vertical flips! if I use opencv to read and convert to PIL.Image , the output will be normal! Then I use other different images, they are all normal. it is interesting! this is my convert function,I think it's right: