Method DetectAndDecodeRaw
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
DetectAndDecodeRaw(InputArray, out Mat[])
Both detects and decodes QR code. Returns each QR code's corner points as a raw Mat (4x2, CV_32FC1), which can be passed directly to other OpenCV functions.
public string[] DetectAndDecodeRaw(InputArray inputImage, out Mat[] bbox)
Parameters
inputImageInputArraysupports grayscale or color(BGR) image.
bboxMat[]output array of vertices of the found QR code quadrangles as raw Mat (4x2, CV_32FC1). Will be empty if not found.
Returns
- string[]
list of decoded string.