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 )
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.
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