Click or drag to resize

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
)

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