I need to rotate images of faces. I want to understand the output of GCP face detection. For the roll angle, where is the axis supposed to be? at the mouth center? at the nose? at the bottom left of the image file?
The definition of roll angle is here: http://www.conitec.net/beta/aentity-pan.htm GCP explanation of the output seems to be in this outdated page: https://developers.google.com/vision/face-detection-concepts Here it seems the z-axis is located at the lower left corner, which cannot be if we want to be precise. To get the image with that rotation we will need the axis to be located in the head.
Update: I have been told that the rotation is with respect to the center of the image. Can anyone confirm this?