Renders the detected chessboard corners.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void DrawChessboardCorners( InputOutputArray image, Size patternSize, IEnumerable<Point2f> corners, bool patternWasFound )
Parameters
- image
- Type: OpenCvSharp.CPlusPlusInputOutputArray
Destination image. It must be an 8-bit color image. - patternSize
- Type: OpenCvSharp.CPlusPlusSize
Number of inner corners per a chessboard row and column (patternSize = cv::Size(points_per_row,points_per_column)). - corners
- Type: System.Collections.GenericIEnumerablePoint2f
Array of detected corners, the output of findChessboardCorners. - patternWasFound
- Type: SystemBoolean
Parameter indicating whether the complete board was found or not. The return value of findChessboardCorners() should be passed here.
See Also