severin-lemaignan / gazr

3D head pose estimation using monocular vision
Other
179 stars 55 forks source link

Yaw, roll and pitch angle #10

Closed mwlodarczyk closed 7 years ago

mwlodarczyk commented 7 years ago

Hi,

I am trying to determine head yaw, roll and pitch angles using your solution. However, the results are very bad. I assume that the input parameters (e.g. focal length) are not set properly.

Thus, I have the following questions: do you have any tips how to estimate the focal length for the webcam in my laptop? What steps should I take to adjust the algorithm for my data?

Hope you can help me.

Best, Michal

severin-lemaignan commented 7 years ago

Hello @mwlodarczyk

To compute yaw, pitch, raw, please refer to this code sample

For the camera focal length, you probably want to check the OpenCV's camera calibration tools.

I'm closing the issue for now. Feel free to re-open if needed.