Table of Contents

Method DetectAndDecode

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

DetectAndDecode(InputArray, out Point2f[][])

Both detects and decodes QR code. To simplify the usage, there is a only API: detectAndDecode

public string[] DetectAndDecode(InputArray inputImage, out Point2f[][] points)

Parameters

inputImage InputArray

supports grayscale or color(BGR) image.

points Point2f[][]

output array of vertices of the found QR code quadrangles. Each element is an array of 4 Point2f representing the corners of one detected QR code. Will be empty if not found.

Returns

string[]

list of decoded string.