Method DetectAndDecode
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
DetectAndDecode(InputArray, out Point2f[], OutputArray)
Both detects and decodes QR code
public string DetectAndDecode(InputArray img, out Point2f[] points, OutputArray straightQrCode = default)
Parameters
imgInputArraygrayscale or color (BGR) image containing QR code.
pointsPoint2f[]optional output array of vertices of the found QR code quadrangle. Will be empty if not found.
straightQrCodeOutputArrayThe optional output image containing rectified and binarized QR code