I was wondering if it was possible to use the iOS gyroscope to detect if an object the camera is taking (a physical photo of someone) is straight. This means by perhaps using the iOS camera, I could know if the physical photo is straight. Does anyone know if this can be done? If so, can someone please provide an example?
Thank you