Table of Contents

Class QRCodeDetector

Namespace
Emgu.CV
Assembly
Emgu.CV.dll

A QR code detector

public class QRCodeDetector : UnmanagedObject, IDisposable, IGraphicalCodeDetector
Inheritance
QRCodeDetector
Implements
Inherited Members
Extension Methods

Constructors

QRCodeDetector()

Create a new QR code detector

public QRCodeDetector()

Properties

GraphicalCodeDetectorPtr

Pointer to the graphical code detector

public nint GraphicalCodeDetectorPtr { get; }

Property Value

nint

Methods

DecodeCurved(IInputArray, IInputArray, IOutputArray)

Decodes QR code on a curved surface in image once it's found by the detect() method.

public string DecodeCurved(IInputArray img, IInputArray points, IOutputArray straightQrcode = null)

Parameters

img IInputArray

grayscale or color (BGR) image containing QR code.

points IInputArray

Quadrangle vertices found by detect() method (or some other algorithm).

straightQrcode IOutputArray

The optional output image containing rectified and binarized QR code

Returns

string

UTF8-encoded output string or empty string if the code cannot be decoded.

DisposeObject()

Release the unmanaged memory associated with this HOGDescriptor

protected override void DisposeObject()

SetEpsX(double)

EpsX

public void SetEpsX(double value)

Parameters

value double

The value

SetEpsY(double)

EpsY

public void SetEpsY(double value)

Parameters

value double

The value