fromTFLiteBytesAsync static method
Implementation
static Future<Net> fromTFLiteBytesAsync(Uint8List bufferModel) async {
final bufM = VecUChar.fromList(bufferModel);
final p = calloc<cvg.Net>();
return cvRunAsync0((callback) => cdnn.cv_dnn_Net_readNetFromTFLiteBytes(bufM.ref, p, callback), (c) {
final net = Net.fromPointer(p);
return c.complete(net);
});
}