QRCodeDetector class

Inheritance
Available extensions

Constructors

QRCodeDetector.empty()
factory
QRCodeDetector.fromPointer(QRCodeDetectorPtr ptr, [bool attach = true])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
no setterinherited
ptr Pointer<QRCodeDetector>
getter/setter pairinherited
ref → QRCodeDetector
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(InputArray img, {VecPoint? points, Mat? straightCode}) → (String, VecPoint?, Mat?)
Decode decodes QR code in image once it's found by the detect() method. Returns UTF8-encoded output string or empty string if the code cannot be decoded.
decodeAsync(InputArray img) Future<(String, VecPoint?, Mat?)>

Available on QRCodeDetector, provided by the QRCodeDetectorAsync extension

decodeCurved(InputArray img, VecPoint points, {OutputArray? straightQRcode}) → (String, Mat)
Decodes QR code on a curved surface in image once it's found by the detect() method.
decodeCurvedAsync(InputArray img, VecPoint points) Future<(String, Mat)>

Available on QRCodeDetector, provided by the QRCodeDetectorAsync extension

detect(InputArray input, {VecPoint? points}) → (bool, VecPoint)
Detect detects QR code in image and returns the quadrangle containing the code.
detectAndDecode(InputArray img, {VecPoint? points, OutputArray? straightCode}) → (String, VecPoint, Mat)
DetectAndDecode Both detects and decodes QR code.
detectAndDecodeAsync(InputArray img) Future<(String, VecPoint, Mat)>

Available on QRCodeDetector, provided by the QRCodeDetectorAsync extension

detectAndDecodeCurved(InputArray img, {VecPoint? points, Mat? straightQRcode}) → (String, VecPoint, Mat)
Both detects and decodes QR code on a curved surface.
detectAndDecodeCurvedAsync(InputArray img) Future<(String, VecPoint, Mat)>

Available on QRCodeDetector, provided by the QRCodeDetectorAsync extension

detectAndDecodeMulti(InputArray img) → (bool, List<String>, VecPoint, VecMat)
Detects QR codes in image, finds the quadrangles containing the codes, and decodes the QRCodes to strings.
detectAndDecodeMultiAsync(InputArray img) Future<(bool, List<String>, VecPoint, VecMat)>

Available on QRCodeDetector, provided by the QRCodeDetectorAsync extension

detectAsync(InputArray input, {VecPoint? points}) Future<(bool, VecPoint)>

Available on QRCodeDetector, provided by the QRCodeDetectorAsync extension

detectMulti(InputArray img, {VecPoint? points}) → (bool, VecPoint)
Detects QR codes in image and finds of the quadrangles containing the codes.
detectMultiAsync(InputArray img) Future<(bool, VecPoint)>

Available on QRCodeDetector, provided by the QRCodeDetectorAsync extension

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEpsX(double epsX) → void
setEpsXAsync(double epsX) Future<void>

Available on QRCodeDetector, provided by the QRCodeDetectorAsync extension

setEpsY(double epsY) → void
setEpsYAsync(double epsY) Future<void>

Available on QRCodeDetector, provided by the QRCodeDetectorAsync extension

setUseAlignmentMarkers(bool useAlignmentMarkers) → void
setUseAlignmentMarkersAsync(bool useAlignmentMarkers) Future<void>

Available on QRCodeDetector, provided by the QRCodeDetectorAsync extension

toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

finalizer NativeFinalizer
final