Method DecodeMulti
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
DecodeMulti(InputArray, IEnumerable<Point2f>)
Decodes QR codes in image once it's found by the detect() method. Returns UTF8-encoded output vector of strings or empty vector of strings if the codes cannot be decoded.
public string?[] DecodeMulti(InputArray img, IEnumerable<Point2f> points)
Parameters
imgInputArraygrayscale or color (BGR) image containing QR code.
pointsIEnumerable<Point2f>Quadrangle vertices found by detect() method (or some other algorithm).
Returns
- string[]
UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded.
DecodeMulti(InputArray, IEnumerable<Point2f>, out Mat[])
Decodes QR codes in image once it's found by the detect() method. Returns UTF8-encoded output vector of strings or empty vector of strings if the codes cannot be decoded.
public string?[] DecodeMulti(InputArray img, IEnumerable<Point2f> points, out Mat[] straightQrCode)
Parameters
imgInputArraygrayscale or color (BGR) image containing QR code.
pointsIEnumerable<Point2f>Quadrangle vertices found by detect() method (or some other algorithm).
straightQrCodeMat[]The optional output image containing rectified and binarized QR code
Returns
- string[]
UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded.