AppleVisionScannerController class
A barcode scanner that scans and decodes barcodes from a given InputImage
.
Constructors
-
AppleVisionScannerController({List<
BarcodeFormat> formats = const [BarcodeFormat.all]}) -
Constructor to create an instance of AppleVisionScannerController.
Returns a barcode scanner with the given
formats
options.
Properties
-
formats
→ List<
BarcodeFormat> -
List that restrict the scan to specific barcode formats.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Instance id.
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
-
processImage(
Uint8List image, Size imageSize, [ImageOrientation orientation = ImageOrientation.downMirrored]) → Future< List< Barcode> ?> - Process the image using apple vision and return the requested information or null value
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited