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
inputImageInputArraysupports grayscale or color(BGR) image.
pointsPoint2f[]optional output vector of vertices of the found barcode rectangle. Will be empty if not found.
resultsstring[]list of decoded string.
typesstring[]list of decoded types.