Open holazollil opened 8 years ago
Which code did you run?
I run SolvePNP.cxx taken from https://github.com/daviddoria/Examples/blob/master/c%2B%2B/OpenCV/SolvePNP/SolvePNP.cxx
2015-12-04 22:20 GMT+02:00 David Doria notifications@github.com:
Which code did you run?
— Reply to this email directly or view it on GitHub https://github.com/daviddoria/Examples/issues/4#issuecomment-162071624.
I would also expect that was the idea of the example. I don't know if I accidentally hardcoded the wrong points when I made this or if something changed in OpenCV since I made it. If you would like to hand-compute the correct projections and then make sure they agree with OpenCV's projections and send a pull request I'd be happy to merge it.
the camera calibration matrix is being set as identity matrix which is wrong
@abhigarg Care to submit a fix :) ?
I run this code. I expect that positions of projectedPoints[i] is equal to position of imagepoints[i]. But when I write their values, they are different.
Is there a problem on this code?