WeChatQRCode class
Constructors
- WeChatQRCode([String detectorPrototxtPath = "", String detectorCaffeModelPath = "", String superResolutionPrototxtPath = "", String superResolutionCaffeModelPath = ""])
-
Initialize the WeChatQRCode.
It includes two models, which are packaged with caffe format.
Therefore, there are prototxt and caffe models (In total, four paramenters).
factory
- WeChatQRCode.empty()
-
factory
- WeChatQRCode.fromPointer(WeChatQRCodePtr ptr, [bool attach = true])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
no setterinherited
-
ptr
↔ Pointer<
WeChatQRCode> -
getter/setter pairinherited
- ref → WeChatQRCode
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleFactor ↔ double
-
https://docs.opencv.org/4.x/d5/d04/classcv_1_1wechat__qrcode_1_1WeChatQRCode.html#abf807138abc2626c159abd3e9a80e791
getter/setter pair
Methods
-
detectAndDecode(
InputArray img, [VecMat? points]) → (List< String> , VecMat) - Both detects and decodes QR code. To simplify the usage, there is a only API: detectAndDecode. https://docs.opencv.org/4.x/d5/d04/classcv_1_1wechat__qrcode_1_1WeChatQRCode.html#a27c167d2d58e5ee4418fd3a9ed5876cc
-
detectAndDecodeAsync(
InputArray img, [VecMat? points]) → Future< (List< String> , VecMat)> -
dispose(
) → void -
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
Static Properties
- finalizer → NativeFinalizer
-
final