DetectionModel class

Constructors

DetectionModel({required ExecuTorchModel model, required String modelPath, required int inputWidth, required int inputHeight, required List<String> labels})

Properties

hashCode int
The hash code for this object.
no setterinherited
inputHeight int
final
inputWidth int
final
labels List<String>
final
model → ExecuTorchModel
final
modelPath String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
predict(Uint8List inputData, {double confThreshold = 0.25}) Future<List<DetectionResult>>
toString() String
A string representation of this object.
inherited

Operators

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