ml_ANN_MLP_create
import { ml_ANN_MLP_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSSee signature below
FUNCTIONml_ANN_MLP_create
RETURN TYPEml_ANN_MLP | null
Creates empty model
Use StatModel::train to train the model, Algorithm::load\<ANN_MLP\>(filename) to load the pre-trained model.
Note that the train method has optional flags: ANN_MLP::TrainFlags.
ml_ANN_MLP_create(): ml_ANN_MLP | null;Returns
The ml_ANN_MLP | 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.