DetectedQuad class
The result of a detection request: a Quad plus a 0.0 .. 1.0 confidence
score reported by the native detector.
Constructors
- DetectedQuad({required Quad quad, double confidence = 0})
-
const
-
DetectedQuad.fromMap(Map<
Object?, Object?> map) -
Parses the map returned by the platform channel:
{ 'corners': List<double>(8), 'confidence': double }.factory
Properties
- confidence → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- quad → Quad
-
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
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited