1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-25 21:33:04 +04:00

Merge pull request #6956 from mshabunin:fix-chessboard-bug

This commit is contained in:
Alexander Alekhin
2016-09-27 13:33:42 +00:00
5 changed files with 535 additions and 676 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ class calibration_test(NewOpenCVTests):
eps = 0.01
normCamEps = 10.0
normDistEps = 0.001
normDistEps = 0.05
cameraMatrixTest = [[ 532.80992189, 0., 342.4952186 ],
[ 0., 532.93346422, 233.8879292 ],
@@ -68,4 +68,4 @@ class calibration_test(NewOpenCVTests):
self.assertLess(abs(rms - 0.196334638034), eps)
self.assertLess(cv2.norm(camera_matrix - cameraMatrixTest, cv2.NORM_L1), normCamEps)
self.assertLess(cv2.norm(dist_coefs - distCoeffsTest, cv2.NORM_L1), normDistEps)
self.assertLess(cv2.norm(dist_coefs - distCoeffsTest, cv2.NORM_L1), normDistEps)