Net.fromTFLiteBytes constructor
Net.fromTFLiteBytes(
- Uint8List bufferModel
Reads a network model stored in TensorFlow framework's format.
https://docs.opencv.org/4.x/d6/d0f/group__dnn.html#gab913e8da754b3d8e463389894365bd0c
Implementation
factory Net.fromTFLiteBytes(Uint8List bufferModel) {
final bufM = VecUChar.fromList(bufferModel);
final p = calloc<cvg.Net>();
cvRun(() => cdnn.cv_dnn_Net_readNetFromTFLiteBytes(bufM.ref, p, ffi.nullptr));
final net = Net._(p);
return net;
}