attempts to determine whether the input image is a view of the chessboard pattern and locate internal chessboard corners

C# | Visual Basic | Visual C++ |
public static bool FindChessboardCorners( Image<Gray, byte> image, MCvSize patternSize, CALIB_CB_TYPE flags, out Point2D<float>[] corners )
Public Shared Function FindChessboardCorners ( _ image As Image(Of Gray, Byte), _ patternSize As MCvSize, _ flags As CALIB_CB_TYPE, _ <OutAttribute> ByRef corners As Point2D(Of Single)() _ ) As Boolean
public: static bool FindChessboardCorners( Image<Gray^, unsigned char>^ image, MCvSize patternSize, CALIB_CB_TYPE flags, [OutAttribute] array<Point2D<float>^>^% corners )

If the chess board pattern is found