Skip to content

CascadeClassifier_convert

xobjdetectfunctionOpenCV 5.0.0
import { CascadeClassifier_convert } from '@banou/opencv-wasm'

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

ARGUMENTSoldcascade, newcascade
FUNCTIONCascadeClassifier_convert
RETURN TYPEboolean
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Convert a legacy Haar cascade file to the newer cascade serialization format in the virtual filesystem.

CascadeClassifier_convert(oldcascade: EmbindString, newcascade: EmbindString): boolean;
oldcascade

oldcascade argument (EmbindString).

newcascade

newcascade argument (EmbindString).

Returns

The boolean 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.