OpenCV for Unity 2.6.5
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.ObjdetectModule.QRCodeEncoder Class Reference

Groups the object candidate rectangles. rectList Input/output vector of rectangles. Output vector includes retained and grouped rectangles. (The Python list is not modified in place.) weights Input/output vector of weights of rectangles. Output vector includes weights of retained and grouped rectangles. (The Python list is not modified in place.) groupThreshold Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it. eps Relative difference between sides of the rectangles to merge them into a group. More...

Public Member Functions

void encode (string encoded_info, Mat qrcode)
 Generates QR code from input string.
 
void encodeStructuredAppend (string encoded_info, List< Mat > qrcodes)
 Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes.
 
IntPtr getNativeObjAddr ()
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static QRCodeEncoder __fromPtr__ (IntPtr addr)
 
static QRCodeEncoder create ()
 Constructor.
 
static QRCodeEncoder create (QRCodeEncoder_Params parameters)
 Constructor.
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Static Public Attributes

const int CORRECT_LEVEL_H = 3
 
const int CORRECT_LEVEL_L = 0
 
const int CORRECT_LEVEL_M = 1
 
const int CORRECT_LEVEL_Q = 2
 
const int ECI_UTF8 = 26
 
const int MODE_ALPHANUMERIC = 2
 
const int MODE_AUTO = -1
 
const int MODE_BYTE = 4
 
const int MODE_ECI = 7
 
const int MODE_KANJI = 8
 
const int MODE_NUMERIC = 1
 
const int MODE_STRUCTURED_APPEND = 3
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Groups the object candidate rectangles. rectList Input/output vector of rectangles. Output vector includes retained and grouped rectangles. (The Python list is not modified in place.) weights Input/output vector of weights of rectangles. Output vector includes weights of retained and grouped rectangles. (The Python list is not modified in place.) groupThreshold Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it. eps Relative difference between sides of the rectangles to merge them into a group.

Member Function Documentation

◆ __fromPtr__()

static QRCodeEncoder OpenCVForUnity.ObjdetectModule.QRCodeEncoder.__fromPtr__ ( IntPtr addr)
static

◆ create() [1/2]

static QRCodeEncoder OpenCVForUnity.ObjdetectModule.QRCodeEncoder.create ( )
static

Constructor.

Parameters
parametersQR code encoder parameters QRCodeEncoder::Params

◆ create() [2/2]

static QRCodeEncoder OpenCVForUnity.ObjdetectModule.QRCodeEncoder.create ( QRCodeEncoder_Params parameters)
static

Constructor.

Parameters
parametersQR code encoder parameters QRCodeEncoder::Params

◆ Dispose()

override void OpenCVForUnity.ObjdetectModule.QRCodeEncoder.Dispose ( bool disposing)
protectedvirtual

◆ encode()

void OpenCVForUnity.ObjdetectModule.QRCodeEncoder.encode ( string encoded_info,
Mat qrcode )

Generates QR code from input string.

Parameters
encoded_infoInput string to encode.
qrcodeGenerated QR code.

◆ encodeStructuredAppend()

void OpenCVForUnity.ObjdetectModule.QRCodeEncoder.encodeStructuredAppend ( string encoded_info,
List< Mat > qrcodes )

Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes.

Parameters
encoded_infoInput string to encode.
qrcodesVector of generated QR codes.

◆ getNativeObjAddr()

IntPtr OpenCVForUnity.ObjdetectModule.QRCodeEncoder.getNativeObjAddr ( )

Member Data Documentation

◆ CORRECT_LEVEL_H

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.CORRECT_LEVEL_H = 3
static

◆ CORRECT_LEVEL_L

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.CORRECT_LEVEL_L = 0
static

◆ CORRECT_LEVEL_M

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.CORRECT_LEVEL_M = 1
static

◆ CORRECT_LEVEL_Q

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.CORRECT_LEVEL_Q = 2
static

◆ ECI_UTF8

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.ECI_UTF8 = 26
static

◆ MODE_ALPHANUMERIC

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.MODE_ALPHANUMERIC = 2
static

◆ MODE_AUTO

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.MODE_AUTO = -1
static

◆ MODE_BYTE

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.MODE_BYTE = 4
static

◆ MODE_ECI

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.MODE_ECI = 7
static

◆ MODE_KANJI

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.MODE_KANJI = 8
static

◆ MODE_NUMERIC

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.MODE_NUMERIC = 1
static

◆ MODE_STRUCTURED_APPEND

const int OpenCVForUnity.ObjdetectModule.QRCodeEncoder.MODE_STRUCTURED_APPEND = 3
static

The documentation for this class was generated from the following file: