Tflite class Null safety

Constructors

Tflite()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

pascalVOCLabelColors List<int>
read / write

Static Methods

close() Future
detectObjectOnBinary({required Uint8List binary, String model = "SSDMobileNet", double threshold = 0.1, int numResultsPerClass = 5, List anchors = anchors, int blockSize = 32, int numBoxesPerBlock = 5, bool asynch = true}) Future<List?>
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 = anchors, int blockSize = 32, int numBoxesPerBlock = 5, bool asynch = true}) Future<List?>
detectObjectOnImage({required String path, String model = "SSDMobileNet", double imageMean = 127.5, double imageStd = 127.5, double threshold = 0.1, int numResultsPerClass = 5, List anchors = anchors, int blockSize = 32, int numBoxesPerBlock = 5, bool asynch = true}) Future<List?>
loadModel({required String model, String labels = "", int numThreads = 1, bool isAsset = true, bool useGpuDelegate = false}) Future<String?>
runModelOnBinary({required Uint8List binary, int numResults = 5, double threshold = 0.1, bool asynch = true}) Future<List?>
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?>
runModelOnImage({required String path, double imageMean = 117.0, double imageStd = 1.0, int numResults = 5, double threshold = 0.1, bool asynch = true}) Future<List?>
runPix2PixOnBinary({required Uint8List binary, String outputType = "png", bool asynch = true}) Future<Uint8List?>
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?>
runPix2PixOnImage({required String path, double imageMean = 0, double imageStd = 255.0, String outputType = "png", bool asynch = true}) Future<Uint8List?>
runPoseNetOnBinary({required Uint8List binary, int numResults = 5, double threshold = 0.5, int nmsRadius = 20, bool asynch = true}) Future<List?>
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?>
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?>
runSegmentationOnBinary({required Uint8List binary, List<int>? labelColors, String outputType = "png", bool asynch = true}) Future<Uint8List?>
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?>
runSegmentationOnImage({required String path, double imageMean = 0, double imageStd = 255.0, List<int>? labelColors, String outputType = "png", bool asynch = true}) Future<Uint8List?>

Constants

anchors → const List<double>
const [0.57273, 0.677385, 1.87446, 2.06253, 3.33843, 5.47434, 7.88282, 3.52778, 9.77052, 9.16828]