lincolnhard / head-pose-estimation

Real-time head pose estimation built with OpenCV and dlib
MIT License
580 stars 173 forks source link

A question with respect to specific number within the distortions matrix. #8

Open tearsland123 opened 6 years ago

tearsland123 commented 6 years ago

Dear KwanHua Lee:

Sorry to bother you. I have a question with respect to your "head pose estimation" project. Could you tell me how could you get the specific number within the distortions matrix. I saw your code and you do not process any a operation. Thanks for your help!

Best Regards Allen

lincolnhard commented 6 years ago

Sorry for the very late reply, you could get your camera and distortion matrix through calibration. Code below would help. https://github.com/opencv/opencv/tree/master/samples/cpp/tutorial_code/calib3d/camera_calibration