Table of Contents

Method DetectAndDecode

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

DetectAndDecode(InputArray, out Point2f[], out string[], out string[])

Both detects and decodes barcode. To simplify the usage, there is a only API: detectAndDecode

public void DetectAndDecode(InputArray inputImage, out Point2f[] points, out string[] results, out string[] types)

Parameters

inputImage InputArray

supports grayscale or color(BGR) image.

points Point2f[]

optional output vector of vertices of the found barcode rectangle. Will be empty if not found.

results string[]

list of decoded string.

types string[]

list of decoded types.