Net.fromTFLite constructor
Net.fromTFLite(
- String path
Reads a network model stored in TFLite framework's format.
https://docs.opencv.org/4.x/d6/d0f/group__dnn.html#gae563b9ed2bc79838499a22727ad6c604
Implementation
factory Net.fromTFLite(String path) {
return using<Net>((arena) {
final p = calloc<cvg.Net>();
final cpath = path.toNativeUtf8(allocator: arena).cast<ffi.Char>();
cvRun(() => cffi.Net_ReadNetFromTFLite(cpath, p));
final net = Net._(p);
return net;
});
}