CvFindChessboardCorners Method (CvArr, CvSize, CvPoint2D32f, Int32) OpenCvSharp Class Library
Finds positions of internal corners of the chessboard

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static bool FindChessboardCorners(
	CvArr image,
	CvSize patternSize,
	out CvPoint2D32f[] corners,
	out int cornerCount
)

Parameters

image
Type: OpenCvSharpCvArr
Source chessboard view; it must be 8-bit grayscale or color image.
patternSize
Type: OpenCvSharpCvSize
The number of inner corners per chessboard row and column.
corners
Type: OpenCvSharpCvPoint2D32f
The output array of corners detected.
cornerCount
Type: SystemInt32
The output corner counter. If it is not null, the function stores there the number of corners found.

Return Value

Type: Boolean
returns true if all the corners have been found and they have been placed in a certain order (row by row, left to right in every row), otherwise, if the function fails to find all the corners or reorder them, it returns false.
See Also

Reference