OpenCV for Unity 2.6.3
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.
|
Public Member Functions | |
QRCodeDetector () | |
QRCodeDetector | setEpsX (double epsX) |
sets the epsilon used during the horizontal scan of QR code stop marker detection. | |
QRCodeDetector | setEpsY (double epsY) |
sets the epsilon used during the vertical scan of QR code stop marker detection. | |
QRCodeDetector | setUseAlignmentMarkers (bool useAlignmentMarkers) |
use markers to improve the position of the corners of the QR code | |
string | decodeCurved (Mat img, Mat points, Mat straight_qrcode) |
Decodes QR code on a curved surface in image once it's found by the detect() method. | |
string | decodeCurved (Mat img, Mat points) |
Decodes QR code on a curved surface in image once it's found by the detect() method. | |
string | detectAndDecodeCurved (Mat img, Mat points, Mat straight_qrcode) |
Both detects and decodes QR code on a curved surface. | |
string | detectAndDecodeCurved (Mat img, Mat points) |
Both detects and decodes QR code on a curved surface. | |
string | detectAndDecodeCurved (Mat img) |
Both detects and decodes QR code on a curved surface. | |
Public Member Functions inherited from OpenCVForUnity.ObjdetectModule.GraphicalCodeDetector | |
IntPtr | getNativeObjAddr () |
bool | detect (Mat img, Mat points) |
Detects graphical code in image and returns the quadrangle containing the code. | |
string | decode (Mat img, Mat points, Mat straight_code) |
Decodes graphical code in image once it's found by the detect() method. | |
string | decode (Mat img, Mat points) |
Decodes graphical code in image once it's found by the detect() method. | |
string | detectAndDecode (Mat img, Mat points, Mat straight_code) |
Both detects and decodes graphical code. | |
string | detectAndDecode (Mat img, Mat points) |
Both detects and decodes graphical code. | |
string | detectAndDecode (Mat img) |
Both detects and decodes graphical code. | |
bool | detectMulti (Mat img, Mat points) |
Detects graphical codes in image and returns the vector of the quadrangles containing the codes. | |
bool | decodeMulti (Mat img, Mat points, List< string > decoded_info, List< Mat > straight_code) |
Decodes graphical codes in image once it's found by the detect() method. | |
bool | decodeMulti (Mat img, Mat points, List< string > decoded_info) |
Decodes graphical codes in image once it's found by the detect() method. | |
bool | detectAndDecodeMulti (Mat img, List< string > decoded_info, Mat points, List< Mat > straight_code) |
Both detects and decodes graphical codes. | |
bool | detectAndDecodeMulti (Mat img, List< string > decoded_info, Mat points) |
Both detects and decodes graphical codes. | |
bool | detectAndDecodeMulti (Mat img, List< string > decoded_info) |
Both detects and decodes graphical codes. | |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
void | Dispose () |
void | ThrowIfDisposed () |
Static Public Member Functions | |
static new QRCodeDetector | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.ObjdetectModule.GraphicalCodeDetector | |
static GraphicalCodeDetector | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.ObjdetectModule.GraphicalCodeDetector | |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.ObjdetectModule.GraphicalCodeDetector | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
Properties inherited from OpenCVForUnity.DisposableObject | |
bool | IsDisposed [get, protected set] |
bool | IsEnabledDispose [get, set] |
OpenCVForUnity.ObjdetectModule.QRCodeDetector.QRCodeDetector | ( | ) |
|
static |
Decodes QR code on a curved surface in image once it's found by the detect() method.
Returns UTF8-encoded output string or empty string if the code cannot be decoded.
img | grayscale or color (BGR) image containing QR code. |
points | Quadrangle vertices found by detect() method (or some other algorithm). |
straight_qrcode | The optional output image containing rectified and binarized QR code |
string OpenCVForUnity.ObjdetectModule.QRCodeDetector.decodeCurved | ( | Mat | img, |
Mat | points, | ||
Mat | straight_qrcode ) |
Decodes QR code on a curved surface in image once it's found by the detect() method.
Returns UTF8-encoded output string or empty string if the code cannot be decoded.
img | grayscale or color (BGR) image containing QR code. |
points | Quadrangle vertices found by detect() method (or some other algorithm). |
straight_qrcode | The optional output image containing rectified and binarized QR code |
string OpenCVForUnity.ObjdetectModule.QRCodeDetector.detectAndDecodeCurved | ( | Mat | img | ) |
Both detects and decodes QR code on a curved surface.
img | grayscale or color (BGR) image containing QR code. |
points | optional output array of vertices of the found QR code quadrangle. Will be empty if not found. |
straight_qrcode | The optional output image containing rectified and binarized QR code |
Both detects and decodes QR code on a curved surface.
img | grayscale or color (BGR) image containing QR code. |
points | optional output array of vertices of the found QR code quadrangle. Will be empty if not found. |
straight_qrcode | The optional output image containing rectified and binarized QR code |
string OpenCVForUnity.ObjdetectModule.QRCodeDetector.detectAndDecodeCurved | ( | Mat | img, |
Mat | points, | ||
Mat | straight_qrcode ) |
Both detects and decodes QR code on a curved surface.
img | grayscale or color (BGR) image containing QR code. |
points | optional output array of vertices of the found QR code quadrangle. Will be empty if not found. |
straight_qrcode | The optional output image containing rectified and binarized QR code |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.ObjdetectModule.GraphicalCodeDetector.
QRCodeDetector OpenCVForUnity.ObjdetectModule.QRCodeDetector.setEpsX | ( | double | epsX | ) |
sets the epsilon used during the horizontal scan of QR code stop marker detection.
epsX | Epsilon neighborhood, which allows you to determine the horizontal pattern of the scheme 1:1:3:1:1 according to QR code standard. |
QRCodeDetector OpenCVForUnity.ObjdetectModule.QRCodeDetector.setEpsY | ( | double | epsY | ) |
sets the epsilon used during the vertical scan of QR code stop marker detection.
epsY | Epsilon neighborhood, which allows you to determine the vertical pattern of the scheme 1:1:3:1:1 according to QR code standard. |
QRCodeDetector OpenCVForUnity.ObjdetectModule.QRCodeDetector.setUseAlignmentMarkers | ( | bool | useAlignmentMarkers | ) |
use markers to improve the position of the corners of the QR code
alignmentMarkers using by default