Table of Contents

Method DecodeWithType

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

DecodeWithType(InputArray, IEnumerable<Point2f>, out string[], out string[])

Decodes barcode in image once it's found by the detect() method.

public bool DecodeWithType(InputArray inputImage, IEnumerable<Point2f> points, out string[] results, out string[] types)

Parameters

inputImage InputArray

supports grayscale or color(BGR) image.

points IEnumerable<Point2f>

vector of rotated rectangle vertices found by detect() method (or some other algorithm).

results string[]

list of decoded string.

types string[]

list of decoded types.

Returns

bool

true if at least one valid barcode is found.