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
inputImageInputArraysupports grayscale or color(BGR) image.
pointsIEnumerable<Point2f>vector of rotated rectangle vertices found by detect() method (or some other algorithm).
resultsstring[]list of decoded string.
typesstring[]list of decoded types.
Returns
- bool
true if at least one valid barcode is found.