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(() => cffi.Net_ReadNetFromTFLiteBytes(bufM.ref, p));
final net = Net._(p);
return net;
}