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
imgInputArraygrayscale or color (BGR) image containing QR codes.
decodedInfostring[]UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded.
pointsPoint2f[]optional output array of vertices of the found QR code quadrangles. Will be empty if not found.
straightQrCodeMat[]The optional output vector of images containing rectified and binarized QR codes