Table of Contents

Method Detect

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Detect(InputArray, out Point2f[])

Detects QR code in image and returns the quadrangle containing the code.

public bool Detect(InputArray img, out Point2f[] points)

Parameters

img InputArray

grayscale or color (BGR) image containing (or not) QR code.

points Point2f[]

Output vector of vertices of the minimum-area quadrangle containing the code.

Returns

bool