Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HeadPose Angel (SolvePNP) (euler_angle[1, 0] giving slight wrong value) #22

Open
vasanthhr opened this issue Feb 21, 2019 · 4 comments
Open

Comments

@vasanthhr
Copy link

Hello All,

I was trying to use this get_head_pose(shape) function to get the x, y and z values of the headpose.

But I was getting slight error on 'y' value whenever the head is straight towards the camera , and it gives some negative value and this value is close to zero.

Can you suggest me how I can get the 'y' value as zero whenever headpose is straight towards camera.

@santo4ul
Copy link

santo4ul commented Apr 7, 2019

Hi @vasanthhr, I'm facing the same problem.. any luck on this?

@santo4ul
Copy link

santo4ul commented Apr 7, 2019

This seems to be an issue with camera calibration. After calibrating my camera and feeding the correct K[] and D[], the boxes are almost accurate.

Hope this helps.

@TheMasterRoot
Copy link

This seems to be an issue with camera calibration. After calibrating my camera and feeding the correct K[] and D[], the boxes are almost accurate.

Hope this helps.

what is K[] and D[] and how to calibrate the camera?

@vasanthhr
Copy link
Author

@santo4ul @TheMasterRoot @lincolnhard @nanowhiter

Could you please suggest me what values I need to put it in k[] and D[] to get a proper value of euler_angle[1, 0] ?.

I do have another issue, I am trying to compress an image by three times(Assume initial size of an image is 640x480 and then reduced the width and height by three times so final image size becomes 213x160), but roll(poseZ) value is not proper when image gets compressed.

Please let me know solution for these two issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants