Patternsize in findChessboardcorners

asked 2019-01-11 07:06:12 -0600

cjacquel gravatar image

updated 2019-01-11 07:06:36 -0600

Hello,

We have to specify the values for PatternSize in findChessboardcorners.

But how to do if we don't know at the advance exactly these values ? Because testing all possible values is time expensive ?

Thank you, Christophe

edit retag flag offensive close merge delete

Comments

I don't see the point, the issue.

You want to calibrate your camera. You print or make a chessboard calibration rig so you know the dimension. If you get some images from other sources, just open the image?

Camera calibration is not a game. The goal is to estimate the camera intrinsic parameters. The purpose of the calibration pattern is to have something you perfectly know in order to do that process.

The other possibility I see is if you have to make an Android application. But I would say that you should enforce the rule. That is, say to the user print a 9x6 chessboard pattern or make an UI to let the user enter the dimension of the chessboard pattern.

If you want to perform camera pose estimation. This is the wrong tool. See ArUco or AprilTag markers.

Eduardo gravatar imageEduardo ( 2019-01-11 14:07:23 -0600 )edit

The matrix is limit to 7x7 instead of 8x8

supra56 gravatar imagesupra56 ( 2019-01-12 12:56:02 -0600 )edit