text_TextDetectorCNN_create
import { text_TextDetectorCNN_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSmodelArchFilename, modelWeightsFilename
FUNCTIONtext_TextDetectorCNN_create
RETURN TYPEtext_TextDetectorCNN | null
Creates an instance of the TextDetectorCNN class using the provided parameters.
text_TextDetectorCNN_create(modelArchFilename: EmbindString, modelWeightsFilename: EmbindString): text_TextDetectorCNN | null;modelArchFilenamethe relative or absolute path to the prototxt file describing the classifiers architecture.
modelWeightsFilenamethe relative or absolute path to the file containing the pretrained weights of the model in caffe-binary form.
Returns
The text_TextDetectorCNN | 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.