1 | initial version |
stereo calibration needs several image pairs, it does not work with a single pair.
objectPoints should contain vector of vectors of points of type Point3f
so, for each pair of chessboard images, you need to append a list of points for both object and imagepts.
(tl;dr: you need another pair of []
around it)
2 | No.2 Revision |
stereo calibration needs several image pairs, it does not work with a single pair.
objectPoints should contain vector of vectors of points of type Point3f
so, for each pair of chessboard images, you need to append a list of points for both object and imagepts.
(tl;dr: you need another pair of []
around it)
then:
findChessboardCorners()
and discard the whole pair, if it did not find all the corners in both images3 | No.3 Revision |
stereo calibration needs several image pairs, it does not work with a single pair.
objectPoints should contain vector of vectors of points of type Point3f
so, for each pair of chessboard images, you need to append a list of points for both object and imagepts.
(tl;dr: you need another pair of []
around it)
then:
findChessboardCorners()
and discard the whole pair, if it did not find all the corners in both images