Class QRCodeDetector
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
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
IInputArraygrayscale or color (BGR) image containing QR code.
points
IInputArrayQuadrangle vertices found by detect() method (or some other algorithm).
straightQrcode
IOutputArrayThe 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
doubleThe value
SetEpsY(double)
EpsY
public void SetEpsY(double value)
Parameters
value
doubleThe value