I encountered a similar problem, and found this page helpful.
it says:
objpoints has to be resized in python from (<num points in set>, 3) to (<num points in set>, 1, 3) to pass the objectPoints.type() == CV_64FC3 check
I encountered a similar problem, and found this page helpful.
it says:
objpoints has to be resized in python from (<num points in set>, 3) to (<num points in set>, 1, 3) to pass the objectPoints.type() == CV_64FC3 check