ARFoundation - How to get camera orientation?

When calling TryGetLatestImage() I get the camera image in whatever orientation the device might consider its default. What is the recommended way to...