You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a rotation matrix from face landmarks using solvePnP called rvec (below). I have tested the the resultant rotation is accurate to estimate head pose. However, I want to use this matrix to rotate the MatOfPoint3f object containing the landmarks back to a "forward facing" direction. I have tried using OpenCVForUnity.CoreModule.Core.transform(MatLandmarks, MatLandmarks, rmat.inv()) but the transformed values still are effected by the movement of the head. Any ideas?
I have a rotation matrix from face landmarks using solvePnP called rvec (below). I have tested the the resultant rotation is accurate to estimate head pose. However, I want to use this matrix to rotate the MatOfPoint3f object containing the landmarks back to a "forward facing" direction. I have tried using
OpenCVForUnity.CoreModule.Core.transform(MatLandmarks, MatLandmarks, rmat.inv())
but the transformed values still are effected by the movement of the head. Any ideas?Calib3d.solvePnP(object_points, image_points, camMatrix, distCoeffs, rvec, tvec);
The text was updated successfully, but these errors were encountered: