ModelApi class abstract

Annotations
  • @HostApi()

Constructors

ModelApi()

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

getImagePredictionList(int index, Uint8List? imageData, List<Uint8List>? imageBytesList, int? imageWidthForBytesList, int? imageHeightForBytesList, List<double> mean, List<double> std) List<double>?
predicts image but returns the raw net output
getImagePredictionListObjectDetection(int index, Uint8List? imageData, List<Uint8List>? imageBytesList, int? imageWidthForBytesList, int? imageHeightForBytesList, double minimumScore, double IOUThreshold, int boxesLimit) List<ResultObjectDetection>
predicts image but returns the output detections
getPredictionCustom(int index, List<double> input, List<int> shape, String dtype) List?
predicts abstract number input
loadModel(String modelPath, int? numberOfClasses, int? imageWidth, int? imageHeight) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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