MethodChannelTfliteNext class

Inheritance

Constructors

MethodChannelTfliteNext()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future
override
detectObjectOnBinary({required Uint8List binary, String model = "SSDMobileNet", double threshold = 0.1, int numResultsPerClass = 5, List anchors = TfliteNextPlatform.anchors, int blockSize = 32, int numBoxesPerBlock = 5, bool asynch = true}) Future<List?>
override
detectObjectOnFrame({required List<Uint8List> bytesList, String model = "SSDMobileNet", int imageHeight = 1280, int imageWidth = 720, double imageMean = 127.5, double imageStd = 127.5, double threshold = 0.1, int numResultsPerClass = 5, int rotation = 90, List anchors = TfliteNextPlatform.anchors, int blockSize = 32, int numBoxesPerBlock = 5, bool asynch = true}) Future<List?>
override
detectObjectOnImage({required String path, String model = "SSDMobileNet", double imageMean = 127.5, double imageStd = 127.5, double threshold = 0.1, int numResultsPerClass = 5, List anchors = TfliteNextPlatform.anchors, int blockSize = 32, int numBoxesPerBlock = 5, bool asynch = true}) Future<List>
override
loadModel({required String model, String labels = "", int numThreads = 1, bool isAsset = true, bool useGpuDelegate = false}) Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runModelOnBinary({required Uint8List binary, int numResults = 5, double threshold = 0.1, bool asynch = true}) Future<List?>
override
runModelOnFrame({required List<Uint8List> bytesList, int imageHeight = 1280, int imageWidth = 720, double imageMean = 127.5, double imageStd = 127.5, int rotation = 90, int numResults = 5, double threshold = 0.1, bool asynch = true}) Future<List?>
override
runModelOnImage({required String path, double imageMean = 117.0, double imageStd = 1.0, int numResults = 5, double threshold = 0.1, bool asynch = true}) Future<List?>
override
runPix2PixOnBinary({required Uint8List binary, String outputType = "png", bool asynch = true}) Future<Uint8List?>
override
runPix2PixOnFrame({required List<Uint8List> bytesList, int imageHeight = 1280, int imageWidth = 720, double imageMean = 0, double imageStd = 255.0, int rotation = 90, String outputType = "png", bool asynch = true}) Future<Uint8List?>
override
runPix2PixOnImage({required String path, double imageMean = 0, double imageStd = 255.0, String outputType = "png", bool asynch = true}) Future<Uint8List?>
override
runPoseNetOnBinary({required Uint8List binary, int numResults = 5, double threshold = 0.5, int nmsRadius = 20, bool asynch = true}) Future<List?>
override
runPoseNetOnFrame({required List<Uint8List> bytesList, int imageHeight = 1280, int imageWidth = 720, double imageMean = 127.5, double imageStd = 127.5, int rotation = 90, int numResults = 5, double threshold = 0.5, int nmsRadius = 20, bool asynch = true}) Future<List?>
override
runPoseNetOnImage({required String path, double imageMean = 127.5, double imageStd = 127.5, int numResults = 5, double threshold = 0.5, int nmsRadius = 20, bool asynch = true}) Future<List?>
override
runSegmentationOnBinary({required Uint8List binary, List<int>? labelColors, String outputType = "png", bool asynch = true}) Future<Uint8List?>
override
runSegmentationOnFrame({required List<Uint8List> bytesList, int imageHeight = 1280, int imageWidth = 720, double imageMean = 0, double imageStd = 255.0, int rotation = 90, List<int>? labelColors, String outputType = "png", bool asynch = true}) Future<Uint8List?>
override
runSegmentationOnImage({required String path, double imageMean = 0, double imageStd = 255.0, List<int>? labelColors, String outputType = "png", bool asynch = true}) Future<Uint8List?>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited