Skip to content

checkChessboard

objdetectfunctionOpenCV 5.0.0
import { checkChessboard } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSimg, size
FUNCTIONcheckChessboard
RETURN TYPEboolean
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Checks whether the image contains chessboard of the specific size or not.

checkChessboard(img: Mat, size: Size): boolean;
img

Source chessboard view.

size

Size of the chessboard.

Returns

Whether a chessboard was found.

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.