Adjusted the camera calibration sample to master API.
This commit is contained in:
parent
6b5ac42a9b
commit
339dd983ee
@ -122,7 +122,7 @@ public class CameraCalibrator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void findPattern(Mat grayFrame) {
|
private void findPattern(Mat grayFrame) {
|
||||||
mPatternWasFound = Calib3d.findCirclesGridDefault(grayFrame, mPatternSize,
|
mPatternWasFound = Calib3d.findCirclesGrid(grayFrame, mPatternSize,
|
||||||
mCorners, Calib3d.CALIB_CB_ASYMMETRIC_GRID);
|
mCorners, Calib3d.CALIB_CB_ASYMMETRIC_GRID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user