Ask Your Question
0

Regarding findchessboardcorners

asked 2018-10-04 02:27:09 -0600

senem gravatar image

I write some codes for chessboard detection. It is running very perfect. If chessboard is empty, then it is running perfect. If chesspieces are on chessboard, then is cannot detect chessboard, returning FALSE. So, is this findchessboardcorners function running just when chessboard is empty ?

edit retag flag offensive close merge delete

Comments

the answer of your question is YES.and what's more,we get the cam params by using findchessboardcorners function (when chessboard is empty ),and use the params when we processing other images (not chessboard image)

jsxyhelu gravatar imagejsxyhelu ( 2018-10-06 17:01:51 -0600 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2018-10-04 02:41:58 -0600

berak gravatar image

it's not meant to be used with a "real world" chessboard with figures on it. it is mainly used for calibration purposes.

you would use findChessBoardCorners with an artificial (rectangular !) board, like here:

(it needs to find ALL corners there, if you put figures on it, it will miss some)

edit flag offensive delete link more

Comments

chess game board is 8x8 i think you need a board not a square.

sturkmen gravatar imagesturkmen ( 2018-10-04 03:10:49 -0600 )edit

ah. @berak indeed pointed out^^

sturkmen gravatar imagesturkmen ( 2018-10-04 03:12:19 -0600 )edit

@sturkmen, i think, it will detect square boards, too (problem there is more the 90° rotation ambiguity)

but putting figures on it will hide some of the corners, and detection will fail

berak gravatar imageberak ( 2018-10-04 03:15:05 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-10-04 02:27:09 -0600

Seen: 616 times

Last updated: Oct 04 '18