BarcodeDetector class

Detector for performing barcode scanning on an input image.

A barcode detector is created via barcodeDetector([BarcodeDetectorOptions options]) in FirebaseVision:

final FirebaseVisionImage image =
    FirebaseVisionImage.fromFilePath('path/to/file');

final BarcodeDetector barcodeDetector =
    FirebaseVision.instance.barcodeDetector();

final List<Barcode> barcodes = await barcodeDetector.detectInImage(image);

Properties

options BarcodeDetectorOptions
The options for configuring this detector.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

detectInImage(FirebaseVisionImage visionImage) → Future<List<Barcode>>
Detects barcodes in the input image.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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