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
inputImageInputArraysupports grayscale or color(BGR) image.
pointsPoint2f[][]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.