Table of Contents

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

inputImage InputArray

supports grayscale or color(BGR) image.

bbox Mat[]

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.