Surely someone can create a neural network that reorients the image, even if the Exif orientation is wrong (JPEG lets you can do this without re-encoding). Sounds like it should be a very simple problem for the vast majority of "regular" images.
For example, if I hold the phone parallel with the ground (aimed at the floor), what is the correct EXIF orientation?
For those images, the exif information is technically correct, but actually wrong.
>https://www.impulseadventure.com/photo/rotation-partial-mcu....
Edit: the link also closed for me a forgotten open loop about the meaning of an annoying error message Windows XP era. Thanks for making me look it up!
He also has a very useful utility (I normally use it to check DCT table) called JPEGSnoop [1].