aitrack
aitrack copied to clipboard
Yaw is Biased to one side
I configured AITrack and Opentrack. I can see my face with the markers. But if I turn my face to the right, the Yaw goes up to 42°, while if I turn the same angle to the left its at 20°. I used center position multiple times but still there is the bias.
Like that its not really useful.
Also in Star Wars Squadrons, the head tracking only works if I use the Opentrack in foreground, which is also not really usefull.
And I need to disable pitch and roll, else the octupus is going crazy doing flips all the time.
I measured the distance to the camera and adjusted it to the correct opening angle.
Using Logitech C920 PRO HD Webcam
Edit:
Its probably due to my camera beeing really close. I have it setup at 20 cm.
If I put the camera further back there is no bias anymore, still the game is not recognized if opentrack is in background.
20cm sounds too close - as you have found, it works better from around 0.5m. You can also adjust the Mapping curves to compensate for a bias or tone down the input vs output angle.
To disable pitch and roll, disable them in OpenTrack by either going to Options>Output and set "Source" as disabled for "Destination" Pitch and Roll, or use the "Mapping" option to adjust the curve to be flat/zero or very low for Pitch/Roll. Would probably also recommend disabling X/Y/Z.
Re game not tracking if opentrack is in background.. that's an OpenTrack problem. You'll need to ask over there instead.
I believe 20cm may be too close. I find it works best when the preview is like a portrait shot from approx 1 meter away.
Since the detection uses light and shadows, it depends on the ambient lighting. A corner torch lamp prevents me from placing the camera on top of the tv and limits the upward pitch to +20deg when the camera is below the tv.
I also find that increasing the gain and exposure 2/3 max (0=left side) where the preview image is a little over exposed helps improve detection. It may be simplifying the image by reducing details