OpenCvSharp.Cv2.FindChessboardCorners C# (CSharp) Method

FindChessboardCorners() public static method

Finds the positions of internal corners of the chessboard.
public static FindChessboardCorners ( InputArray image, Size patternSize, OutputArray corners, ChessboardFlags flags = ChessboardFlags.AdaptiveThresh|ChessboardFlags.NormalizeImage ) : bool
image InputArray Source chessboard view. It must be an 8-bit grayscale or color image.
patternSize Size Number of inner corners per a chessboard row and column /// ( patternSize = Size(points_per_row,points_per_colum) = Size(columns, rows) ).
corners OutputArray Output array of detected corners.
flags ChessboardFlags Various operation flags that can be zero or a combination of the ChessboardFlag values
return bool
        public static bool FindChessboardCorners(
            InputArray image,
            Size patternSize,
            OutputArray corners,
            ChessboardFlags flags = ChessboardFlags.AdaptiveThresh | ChessboardFlags.NormalizeImage)
        {
            if (image == null)
                throw new ArgumentNullException(nameof(image));
            if (corners == null)
                throw new ArgumentNullException(nameof(corners));
            image.ThrowIfDisposed();
            corners.ThrowIfNotReady();

            int ret = NativeMethods.calib3d_findChessboardCorners_InputArray(
                image.CvPtr, patternSize, corners.CvPtr, (int)flags);
            corners.Fix();
            return ret != 0;
        }
        /// <summary>

Same methods

Cv2::FindChessboardCorners ( InputArray image, Size patternSize, Point2f &corners, ChessboardFlags flags = ChessboardFlags.AdaptiveThresh|ChessboardFlags.NormalizeImage ) : bool
Cv2