In my project, I want to use ml kit to detect head movement (left, right and nod head).
So I have to record video in session (pause and resume).
I use getHeadEulerAngleY to detect degree rotation.
I have challenge record a proper session. For example, It is required user to move a bit far to the left (> - 45 degree) so the record session should be include. However, I started to resume record when mlkit detect the head is moving left from -12 degree.
How can I exclude if the user moved his head not far as 45 degree?