dnn_readNetFromTFLite1
import { dnn_readNetFromTFLite1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSbufferModel, engine
FUNCTIONdnn_readNetFromTFLite1
RETURN TYPEdnn_Net
Reads a network model stored in <a href="https://www.tensorflow.org/lite">TFLite</a> framework's format.
dnn_readNetFromTFLite1(bufferModel: ucharVector, engine: number): dnn_Net;2 available overloads
dnn_readNetFromTFLite1(bufferModel: ucharVector): dnn_Net;dnn_readNetFromTFLite1(bufferModel: ucharVector, engine: number): dnn_Net;bufferModelbuffer containing the content of the tflite file
engineselect DNN engine to be used. With auto selection the new engine is used first and falls back to classic. Please pay attention that the new DNN does not support non-CPU back-ends for now.
Returns
Net object.
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.