I'm working on an app that needs to detect the face orientation, that is roll, yaw and pitch.
Since I'm using Expo (React Native) I hope I can stick with its FaceDetector implementation which used Google ML Kit's Mobile Vision API. I'm fully aware this might not be the most efficient API for the task of solely retrieving face orientation information.
Sadly, the Google API only passes Yaw and Roll but not Pitch:
The Euler X, Euler Y, and Euler Z angles characterize a face’s orientation as shown in Fig. 1. The Face API provides measurement of Euler Y and Euler Z (but not Euler X) for detected faces.
Is there any way to calculate Pitch from the given Euler angles or at least approximate?
Additionally: What is the reason for that limitation?