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 bool FindChessboardCorners( CvSize patternSize, out CvPoint2D32f[] corners, out int cornerCount, ChessboardFlag flags )
Parameters
- 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. - flags
- Type: OpenCvSharpChessboardFlag
Various operation flags
Return Value
Type: Booleanreturns 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