Difference between revisions of "PlayChessWithAWebCam/BoardFinder"

From BITPlan Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
== Finding the chessboard ==
 
== Finding the chessboard ==
 
{{Link|target=OpenCV}} has a function [https://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html#bool%20findChessboardCorners(InputArray%20image,%20Size%20patternSize,%20OutputArray%20corners,%20int%20flags) findChessboardCorners] which is usually used for camera calibration and not really intended for the use case of "real chessboards".
 
{{Link|target=OpenCV}} has a function [https://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html#bool%20findChessboardCorners(InputArray%20image,%20Size%20patternSize,%20OutputArray%20corners,%20int%20flags) findChessboardCorners] which is usually used for camera calibration and not really intended for the use case of "real chessboards".
 +
 +
Still it is very helpful and uses as a basis for the BoardFinder.

Revision as of 07:50, 1 December 2019

Source Code

see class BoardFinder in module boardfinder tests are in the: test_BoardFinder module

Algorithm

Finding the chessboard

OpenCV has a function findChessboardCorners which is usually used for camera calibration and not really intended for the use case of "real chessboards".

Still it is very helpful and uses as a basis for the BoardFinder.