PlayChessWithAWebCam/BoardFinder: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
Line 7: Line 7:


Still it is very helpful and uses as a basis for the BoardFinder.
Still it is very helpful and uses as a basis for the BoardFinder.
=== Examples ===
<gallery>
File:chessBoard001.jpg
File:chessBoard002.jpg
File:chessBoard003.jpg
File:chessBoard004.jpg
File:chessBoard005.jpg
File:chessBoard006.jpg
File:chessBoard007.jpg
File:chessBoard008.jpg
File:chessBoard009.jpg
File:chessBoard010.jpg
File:chessBoard011.jpg
File:chessBoard012.jpg
File:chessBoard013.jpg
</gallery>

Revision as of 05:53, 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.

Examples