| Cv2DrawChessboardCorners Method (InputOutputArray, Size, IEnumerablePoint2f, Boolean) |
Renders the detected chessboard corners.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void DrawChessboardCorners(
InputOutputArray image,
Size patternSize,
IEnumerable<Point2f> corners,
bool patternWasFound
)
Public Shared Sub DrawChessboardCorners (
image As InputOutputArray,
patternSize As Size,
corners As IEnumerable(Of Point2f),
patternWasFound As Boolean
)
public:
static void DrawChessboardCorners(
InputOutputArray^ image,
Size patternSize,
IEnumerable<Point2f>^ corners,
bool patternWasFound
)
static member DrawChessboardCorners :
image : InputOutputArray *
patternSize : Size *
corners : IEnumerable<Point2f> *
patternWasFound : bool -> unit
Parameters
- image
- Type: OpenCvSharpInputOutputArray
Destination image. It must be an 8-bit color image. - patternSize
- Type: OpenCvSharpSize
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