| QRCodeDetectorDecode Method |
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.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public string Decode(
InputArray img,
IEnumerable<Point2f> points,
OutputArray straightQrCode = null
)
Public Function Decode (
img As InputArray,
points As IEnumerable(Of Point2f),
Optional straightQrCode As OutputArray = Nothing
) As String
public:
String^ Decode(
InputArray^ img,
IEnumerable<Point2f>^ points,
OutputArray^ straightQrCode = nullptr
)
member Decode :
img : InputArray *
points : IEnumerable<Point2f> *
?straightQrCode : OutputArray
(* Defaults:
let _straightQrCode = defaultArg straightQrCode null
*)
-> string
Parameters
- img
- Type: OpenCvSharpInputArray
grayscale or color (BGR) image containing QR code. - points
- Type: System.Collections.GenericIEnumerablePoint2f
Quadrangle vertices found by detect() method (or some other algorithm). - straightQrCode (Optional)
- Type: OpenCvSharpOutputArray
The optional output image containing rectified and binarized QR code
Return Value
Type:
String[Missing <returns> documentation for "M:OpenCvSharp.QRCodeDetector.Decode(OpenCvSharp.InputArray,System.Collections.Generic.IEnumerable{OpenCvSharp.Point2f},OpenCvSharp.OutputArray)"]
See Also