MethodChannelClassifyCard class

An implementation of ClassifyCardPlatform that uses method channels.

Inheritance

Constructors

MethodChannelClassifyCard()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

classify(String imagePath) Future<CardGateResult>
Runs one inference on the photo at imagePath.
override
classifyFrame(CardGateFrame frame) Future<CardGateResult>
Runs one inference on a live camera frame, without writing it to disk.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() Future<void>
Frees the interpreter. Best effort; never throws.
override
toString() String
A string representation of this object.
inherited
warmUp() Future<String>
Builds the classifier and returns the bundled model version.
override

Operators

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