Draws the individual chessboard corners detected (as red circles) in case if the board was not found (pattern_was_found=0) or the colored corners connected with lines when the board was found (pattern_was_found≠0).
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void DrawChessboardCorners( CvSize patternSize, CvPoint2D32f[] corners, bool patternWasFound )
Parameters
- patternSize
- Type: OpenCvSharpCvSize
The number of inner corners per chessboard row and column. - corners
- Type: OpenCvSharpCvPoint2D32f
The array of corners detected. - patternWasFound
- Type: SystemBoolean
Indicates whether the complete board was found (≠0) or not (=0). One may just pass the return value cvFindChessboardCorners here.
See Also