For photogrammetry, it would be helpful to know the orientation of the camera when the photo was taken.
For videos in which the camera was rotated during filming, it would be good to know which way was down, so that the rotation can be corrected later (instead of viewers tilting their heads).
There aren't any standard EXIF tags for this purpose, unfortunately, but Wikipedia says that you can use GPSImgDirection tag along with custom GPSPitch and GPSRoll tags. There may be other solutions, too.
Alternatively, maybe it could store the GPMF information that GoPro cameras store. There are apparently many other types of metadata that can be attached to images, maybe some of those contain orientation info, too.
Are there any Android cameras that capture this information in videos and photos?