YOLOModelManager class
Constructors
-
YOLOModelManager.new({required MethodChannel channel, required String instanceId, required String modelPath, required YOLOTask task, required bool useGpu, Map<
String, dynamic> ? classifierOptions, int? viewId})
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
-
dispose(
) → Future< void> -
initializeInstance(
) → Future< void> -
loadModel(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setViewId(
int viewId) → void -
switchModel(
String newModelPath, YOLOTask newTask) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited