@Namespace(value="cv") @NoOffset public static class opencv_objdetect.QRCodeDetector extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
QRCodeDetector() |
QRCodeDetector(long size)
Native array allocator.
|
QRCodeDetector(Pointer p)
Pointer cast constructor.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic QRCodeDetector(Pointer p)
Pointer.Pointer(Pointer).public QRCodeDetector(long size)
Pointer.position(long).public QRCodeDetector()
public opencv_objdetect.QRCodeDetector position(long position)
public void setEpsX(double epsX)
epsX - Epsilon neighborhood, which allows you to determine the horizontal pattern
of the scheme 1:1:3:1:1 according to QR code standard.public void setEpsY(double epsY)
epsY - Epsilon neighborhood, which allows you to determine the vertical pattern
of the scheme 1:1:3:1:1 according to QR code standard.@Cast(value="bool") public boolean detect(@ByVal opencv_core.Mat img, @ByVal opencv_core.Mat points)
img - grayscale or color (BGR) image containing (or not) QR code.points - Output vector of vertices of the minimum-area quadrangle containing the code.@Cast(value="bool") public boolean detect(@ByVal opencv_core.UMat img, @ByVal opencv_core.UMat points)
@Cast(value="bool") public boolean detect(@ByVal opencv_core.GpuMat img, @ByVal opencv_core.GpuMat points)
@StdString public BytePointer decode(@ByVal opencv_core.Mat img, @ByVal opencv_core.Mat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.Mat straight_qrcode)
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@StdString public BytePointer decode(@ByVal opencv_core.Mat img, @ByVal opencv_core.Mat points)
@StdString public String decode(@ByVal opencv_core.UMat img, @ByVal opencv_core.UMat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.UMat straight_qrcode)
@StdString public String decode(@ByVal opencv_core.UMat img, @ByVal opencv_core.UMat points)
@StdString public BytePointer decode(@ByVal opencv_core.GpuMat img, @ByVal opencv_core.GpuMat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.GpuMat straight_qrcode)
@StdString public BytePointer decode(@ByVal opencv_core.GpuMat img, @ByVal opencv_core.GpuMat points)
@StdString public BytePointer detectAndDecode(@ByVal opencv_core.Mat img, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.Mat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.Mat straight_qrcode)
img - grayscale or color (BGR) image containing QR code.points - opiotnal 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@StdString public BytePointer detectAndDecode(@ByVal opencv_core.Mat img)
@StdString public String detectAndDecode(@ByVal opencv_core.UMat img, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.UMat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.UMat straight_qrcode)
@StdString public String detectAndDecode(@ByVal opencv_core.UMat img)
@StdString public BytePointer detectAndDecode(@ByVal opencv_core.GpuMat img, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.GpuMat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") opencv_core.GpuMat straight_qrcode)
@StdString public BytePointer detectAndDecode(@ByVal opencv_core.GpuMat img)
Copyright © 2019. All rights reserved.