Skip to content

mcc_CCheckerDetector_create1

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

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

ARGUMENTSnet
FUNCTIONmcc_CCheckerDetector_create1
RETURN TYPEmcc_CCheckerDetector | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Set the net which will be used to find the approximate bounding boxes for the color charts. And returns the implementation of the CCheckerDetector.

It is not necessary to use this, but this usually results in better detection rate.

mcc_CCheckerDetector_create1(net: dnn_Net): mcc_CCheckerDetector | null;
net

the neural network, if the network in empty, then the function will return false.

Returns

The mcc_CCheckerDetector | null result.

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.