CroppedCard class

Result of cropping the card out of a photo.

Constructors

CroppedCard({required Uint8List image, required CardCorners? corners, ReproductionCheck reproduction = ReproductionCheck.none})
const

Properties

corners → CardCorners?
Card corners found in the photo (normalized), null if not found.
final
hashCode → int
The hash code for this object.
no setterinherited
image → Uint8List
JPEG with only the card: perspective-corrected to the ID-1 aspect ratio when corners were found, otherwise an axis-aligned crop.
final
isPrecise → bool
no setter
reproduction → ReproductionCheck
Screen / printout check, measured on the card before JPEG encoding.
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
toString() → String
A string representation of this object.
inherited

Operators

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