| QRCodeDetectorDetectAndDecode Method |
Both detects and decodes QR code
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public string DetectAndDecode(
InputArray img,
out Point2f[] points,
OutputArray straightQrCode = null
)
Public Function DetectAndDecode (
img As InputArray,
<OutAttribute> ByRef points As Point2f(),
Optional straightQrCode As OutputArray = Nothing
) As String
public:
String^ DetectAndDecode(
InputArray^ img,
[OutAttribute] array<Point2f>^% points,
OutputArray^ straightQrCode = nullptr
)
member DetectAndDecode :
img : InputArray *
points : Point2f[] byref *
?straightQrCode : OutputArray
(* Defaults:
let _straightQrCode = defaultArg straightQrCode null
*)
-> string
Parameters
- img
- Type: OpenCvSharpInputArray
grayscale or color (BGR) image containing QR code. - points
- Type: OpenCvSharpPoint2f
optional output array of vertices of the found QR code quadrangle. Will be empty if not found. - 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.DetectAndDecode(OpenCvSharp.InputArray,OpenCvSharp.Point2f[]@,OpenCvSharp.OutputArray)"]
See Also