ModelObjectDetection class

Constructors

ModelObjectDetection(int _index, int imageWidth, int imageHeight, List<String> labels)

Properties

hashCode int
The hash code for this object.
no setterinherited
imageHeight int
final
imageWidth int
final
labels List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getImagePrediction(Uint8List imageAsBytes, {double minimumScore = 0.5, double IOUThershold = 0.5, int boxesLimit = 10}) Future<List<ResultObjectDetection?>>
predicts image and returns the supposed label belonging to it
getImagePredictionFromBytesList(List<Uint8List> imageAsBytesList, int imageWidth, int imageHeight, {double minimumScore = 0.5, double IOUThershold = 0.5, int boxesLimit = 10}) Future<List<ResultObjectDetection?>>
predicts image and returns the supposed label belonging to it
getImagePredictionList(Uint8List imageAsBytes, {double minimumScore = 0.5, double IOUThershold = 0.5, int boxesLimit = 10}) Future<List<ResultObjectDetection?>>
predicts image but returns the raw net output
getImagePredictionListFromBytesList(List<Uint8List> imageAsBytesList, int imageWidth, int imageHeight, {double minimumScore = 0.5, double IOUThershold = 0.5, int boxesLimit = 10}) Future<List<ResultObjectDetection?>>
predicts image but returns the raw net output
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderBoxesOnImage(File _image, List<ResultObjectDetection?> _recognitions, {Color? boxesColor, bool showPercentage = true}) Widget
toString() String
A string representation of this object.
inherited

Operators

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