Table of Contents

Method DetectAndDecodeMulti

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

DetectAndDecodeMulti(InputArray, out string?[], out Point2f[], out Mat[])

Both detects and decodes QR codes

public bool DetectAndDecodeMulti(InputArray img, out string?[] decodedInfo, out Point2f[] points, out Mat[] straightQrCode)

Parameters

img InputArray

grayscale or color (BGR) image containing QR codes.

decodedInfo string[]

UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded.

points Point2f[]

optional output array of vertices of the found QR code quadrangles. Will be empty if not found.

straightQrCode Mat[]

The optional output vector of images containing rectified and binarized QR codes

Returns

bool