First time here? Check out the FAQ!
answered 2017-05-18 03:29:55 -0600
In solvePnP code link I mentioned in line 95 it is calling undistortPoints(ipoints, undistortedPoints, cameraMatrix, distCoeffs); I think the error is from this call
undistortPoints(ipoints, undistortedPoints, cameraMatrix, distCoeffs);