@Namespace(value="cv::wechat_qrcode") @NoOffset @Properties(inherit=opencv_wechat_qrcode.class) public class WeChatQRCode extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
WeChatQRCode() |
WeChatQRCode(BytePointer detector_prototxt_path,
BytePointer detector_caffe_model_path,
BytePointer super_resolution_prototxt_path,
BytePointer super_resolution_caffe_model_path)
\brief Initialize the WeChatQRCode.
|
WeChatQRCode(long size)
Native array allocator.
|
WeChatQRCode(Pointer p)
Pointer cast constructor.
|
WeChatQRCode(String detector_prototxt_path,
String detector_caffe_model_path,
String super_resolution_prototxt_path,
String super_resolution_caffe_model_path) |
Modifier and Type | Method and Description |
---|---|
StringVector |
detectAndDecode(GpuMat img) |
StringVector |
detectAndDecode(GpuMat img,
GpuMatVector points) |
StringVector |
detectAndDecode(GpuMat img,
MatVector points) |
StringVector |
detectAndDecode(GpuMat img,
UMatVector points) |
StringVector |
detectAndDecode(Mat img) |
StringVector |
detectAndDecode(Mat img,
GpuMatVector points) |
StringVector |
detectAndDecode(Mat img,
MatVector points)
\brief Both detects and decodes QR code.
|
StringVector |
detectAndDecode(Mat img,
UMatVector points) |
StringVector |
detectAndDecode(UMat img) |
StringVector |
detectAndDecode(UMat img,
GpuMatVector points) |
StringVector |
detectAndDecode(UMat img,
MatVector points) |
StringVector |
detectAndDecode(UMat img,
UMatVector points) |
WeChatQRCode |
getPointer(long i) |
float |
getScaleFactor() |
WeChatQRCode |
position(long position) |
void |
setScaleFactor(float _scalingFactor)
\brief set scale factor
QR code detector use neural network to detect QR.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public WeChatQRCode(Pointer p)
Pointer(Pointer)
.public WeChatQRCode(long size)
Pointer.position(long)
.public WeChatQRCode(@StdString BytePointer detector_prototxt_path, @StdString BytePointer detector_caffe_model_path, @StdString BytePointer super_resolution_prototxt_path, @StdString BytePointer super_resolution_caffe_model_path)
detector_prototxt_path
- prototxt file path for the detectordetector_caffe_model_path
- caffe model file path for the detectorsuper_resolution_prototxt_path
- prototxt file path for the super resolution modelsuper_resolution_caffe_model_path
- caffe file path for the super resolution modelpublic WeChatQRCode()
public WeChatQRCode(@StdString String detector_prototxt_path, @StdString String detector_caffe_model_path, @StdString String super_resolution_prototxt_path, @StdString String super_resolution_caffe_model_path)
public WeChatQRCode position(long position)
public WeChatQRCode getPointer(long i)
getPointer
in class Pointer
@ByVal public StringVector detectAndDecode(@ByVal Mat img, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") MatVector points)
img
- supports grayscale or color (BGR) image.points
- optional output array of vertices of the found QR code quadrangle. Will be
empty if not found.@ByVal public StringVector detectAndDecode(@ByVal Mat img)
@ByVal public StringVector detectAndDecode(@ByVal Mat img, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") UMatVector points)
@ByVal public StringVector detectAndDecode(@ByVal Mat img, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") GpuMatVector points)
@ByVal public StringVector detectAndDecode(@ByVal UMat img, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") MatVector points)
@ByVal public StringVector detectAndDecode(@ByVal UMat img)
@ByVal public StringVector detectAndDecode(@ByVal UMat img, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") UMatVector points)
@ByVal public StringVector detectAndDecode(@ByVal UMat img, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") GpuMatVector points)
@ByVal public StringVector detectAndDecode(@ByVal GpuMat img, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") MatVector points)
@ByVal public StringVector detectAndDecode(@ByVal GpuMat img)
@ByVal public StringVector detectAndDecode(@ByVal GpuMat img, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") UMatVector points)
@ByVal public StringVector detectAndDecode(@ByVal GpuMat img, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") GpuMatVector points)
public void setScaleFactor(float _scalingFactor)
public float getScaleFactor()
Copyright © 2024. All rights reserved.