@Namespace(value="cv") @NoOffset @Properties(inherit=opencv_objdetect.class) public class GraphicalCodeDetector extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
GraphicalCodeDetector.Impl |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
GraphicalCodeDetector()
Deprecated.
|
GraphicalCodeDetector(GraphicalCodeDetector arg0) |
GraphicalCodeDetector(long size)
Native array allocator.
|
GraphicalCodeDetector(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
decode(GpuMat img,
GpuMat points) |
BytePointer |
decode(GpuMat img,
GpuMat points,
GpuMat straight_code) |
BytePointer |
decode(Mat img,
Mat points) |
BytePointer |
decode(Mat img,
Mat points,
Mat straight_code)
\brief Decodes graphical code in image once it's found by the detect() method.
|
String |
decode(UMat img,
UMat points) |
String |
decode(UMat img,
UMat points,
UMat straight_code) |
boolean |
decodeMulti(GpuMat img,
GpuMat points,
StringVector decoded_info) |
boolean |
decodeMulti(GpuMat img,
GpuMat points,
StringVector decoded_info,
GpuMatVector straight_code) |
boolean |
decodeMulti(GpuMat img,
GpuMat points,
StringVector decoded_info,
MatVector straight_code) |
boolean |
decodeMulti(GpuMat img,
GpuMat points,
StringVector decoded_info,
UMatVector straight_code) |
boolean |
decodeMulti(Mat img,
Mat points,
StringVector decoded_info) |
boolean |
decodeMulti(Mat img,
Mat points,
StringVector decoded_info,
GpuMatVector straight_code) |
boolean |
decodeMulti(Mat img,
Mat points,
StringVector decoded_info,
MatVector straight_code)
\brief Decodes graphical codes in image once it's found by the detect() method.
|
boolean |
decodeMulti(Mat img,
Mat points,
StringVector decoded_info,
UMatVector straight_code) |
boolean |
decodeMulti(UMat img,
UMat points,
StringVector decoded_info) |
boolean |
decodeMulti(UMat img,
UMat points,
StringVector decoded_info,
GpuMatVector straight_code) |
boolean |
decodeMulti(UMat img,
UMat points,
StringVector decoded_info,
MatVector straight_code) |
boolean |
decodeMulti(UMat img,
UMat points,
StringVector decoded_info,
UMatVector straight_code) |
boolean |
detect(GpuMat img,
GpuMat points) |
boolean |
detect(Mat img,
Mat points)
\brief Detects graphical code in image and returns the quadrangle containing the code.
|
boolean |
detect(UMat img,
UMat points) |
BytePointer |
detectAndDecode(GpuMat img) |
BytePointer |
detectAndDecode(GpuMat img,
GpuMat points,
GpuMat straight_code) |
BytePointer |
detectAndDecode(Mat img) |
BytePointer |
detectAndDecode(Mat img,
Mat points,
Mat straight_code)
\brief Both detects and decodes graphical code
|
String |
detectAndDecode(UMat img) |
String |
detectAndDecode(UMat img,
UMat points,
UMat straight_code) |
boolean |
detectAndDecodeMulti(GpuMat img,
StringVector decoded_info) |
boolean |
detectAndDecodeMulti(GpuMat img,
StringVector decoded_info,
GpuMat points,
GpuMatVector straight_code) |
boolean |
detectAndDecodeMulti(GpuMat img,
StringVector decoded_info,
GpuMat points,
MatVector straight_code) |
boolean |
detectAndDecodeMulti(GpuMat img,
StringVector decoded_info,
GpuMat points,
UMatVector straight_code) |
boolean |
detectAndDecodeMulti(Mat img,
StringVector decoded_info) |
boolean |
detectAndDecodeMulti(Mat img,
StringVector decoded_info,
Mat points,
GpuMatVector straight_code) |
boolean |
detectAndDecodeMulti(Mat img,
StringVector decoded_info,
Mat points,
MatVector straight_code)
\brief Both detects and decodes graphical codes
|
boolean |
detectAndDecodeMulti(Mat img,
StringVector decoded_info,
Mat points,
UMatVector straight_code) |
boolean |
detectAndDecodeMulti(UMat img,
StringVector decoded_info) |
boolean |
detectAndDecodeMulti(UMat img,
StringVector decoded_info,
UMat points,
GpuMatVector straight_code) |
boolean |
detectAndDecodeMulti(UMat img,
StringVector decoded_info,
UMat points,
MatVector straight_code) |
boolean |
detectAndDecodeMulti(UMat img,
StringVector decoded_info,
UMat points,
UMatVector straight_code) |
boolean |
detectMulti(GpuMat img,
GpuMat points) |
boolean |
detectMulti(Mat img,
Mat points)
\brief Detects graphical codes in image and returns the vector of the quadrangles containing the codes.
|
boolean |
detectMulti(UMat img,
UMat points) |
GraphicalCodeDetector |
getPointer(long i) |
GraphicalCodeDetector |
position(long position) |
GraphicalCodeDetector |
put(GraphicalCodeDetector arg0) |
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 GraphicalCodeDetector(Pointer p)
Pointer(Pointer)
.public GraphicalCodeDetector(long size)
Pointer.position(long)
.@Deprecated public GraphicalCodeDetector()
public GraphicalCodeDetector(@Const @ByRef GraphicalCodeDetector arg0)
public GraphicalCodeDetector position(long position)
public GraphicalCodeDetector getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public GraphicalCodeDetector put(@Const @ByRef GraphicalCodeDetector arg0)
@Cast(value="bool") public boolean detect(@ByVal Mat img, @ByVal Mat points)
img
- grayscale or color (BGR) image containing (or not) graphical code.points
- Output vector of vertices of the minimum-area quadrangle containing the code.@StdString public BytePointer decode(@ByVal Mat img, @ByVal Mat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") Mat straight_code)
Returns UTF8-encoded output string or empty string if the code cannot be decoded.
img
- grayscale or color (BGR) image containing graphical code.points
- Quadrangle vertices found by detect() method (or some other algorithm).straight_code
- The optional output image containing binarized code, will be empty if not found.@StdString public BytePointer decode(@ByVal Mat img, @ByVal Mat points)
@StdString public String decode(@ByVal UMat img, @ByVal UMat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") UMat straight_code)
@StdString public BytePointer decode(@ByVal GpuMat img, @ByVal GpuMat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") GpuMat straight_code)
@StdString public BytePointer decode(@ByVal GpuMat img, @ByVal GpuMat points)
@StdString public BytePointer detectAndDecode(@ByVal Mat img, @ByVal(nullValue="cv::OutputArray(cv::noArray())") Mat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") Mat straight_code)
img
- grayscale or color (BGR) image containing graphical code.points
- optional output array of vertices of the found graphical code quadrangle, will be empty if not found.straight_code
- The optional output image containing binarized code@StdString public BytePointer detectAndDecode(@ByVal Mat img)
@StdString public String detectAndDecode(@ByVal UMat img, @ByVal(nullValue="cv::OutputArray(cv::noArray())") UMat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") UMat straight_code)
@StdString public String detectAndDecode(@ByVal UMat img)
@StdString public BytePointer detectAndDecode(@ByVal GpuMat img, @ByVal(nullValue="cv::OutputArray(cv::noArray())") GpuMat points, @ByVal(nullValue="cv::OutputArray(cv::noArray())") GpuMat straight_code)
@StdString public BytePointer detectAndDecode(@ByVal GpuMat img)
@Cast(value="bool") public boolean detectMulti(@ByVal Mat img, @ByVal Mat points)
img
- grayscale or color (BGR) image containing (or not) graphical codes.points
- Output vector of vector of vertices of the minimum-area quadrangle containing the codes.@Cast(value="bool") public boolean decodeMulti(@ByVal Mat img, @ByVal Mat points, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") MatVector straight_code)
img
- grayscale or color (BGR) image containing graphical codes.decoded_info
- UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded.points
- vector of Quadrangle vertices found by detect() method (or some other algorithm).straight_code
- The optional output vector of images containing binarized codes@Cast(value="bool") public boolean decodeMulti(@ByVal Mat img, @ByVal Mat points, @ByRef StringVector decoded_info)
@Cast(value="bool") public boolean decodeMulti(@ByVal Mat img, @ByVal Mat points, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") UMatVector straight_code)
@Cast(value="bool") public boolean decodeMulti(@ByVal Mat img, @ByVal Mat points, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") GpuMatVector straight_code)
@Cast(value="bool") public boolean decodeMulti(@ByVal UMat img, @ByVal UMat points, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") MatVector straight_code)
@Cast(value="bool") public boolean decodeMulti(@ByVal UMat img, @ByVal UMat points, @ByRef StringVector decoded_info)
@Cast(value="bool") public boolean decodeMulti(@ByVal UMat img, @ByVal UMat points, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") UMatVector straight_code)
@Cast(value="bool") public boolean decodeMulti(@ByVal UMat img, @ByVal UMat points, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") GpuMatVector straight_code)
@Cast(value="bool") public boolean decodeMulti(@ByVal GpuMat img, @ByVal GpuMat points, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") MatVector straight_code)
@Cast(value="bool") public boolean decodeMulti(@ByVal GpuMat img, @ByVal GpuMat points, @ByRef StringVector decoded_info)
@Cast(value="bool") public boolean decodeMulti(@ByVal GpuMat img, @ByVal GpuMat points, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") UMatVector straight_code)
@Cast(value="bool") public boolean decodeMulti(@ByVal GpuMat img, @ByVal GpuMat points, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") GpuMatVector straight_code)
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal Mat img, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArray(cv::noArray())") Mat points, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") MatVector straight_code)
img
- grayscale or color (BGR) image containing graphical codes.decoded_info
- UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded.points
- optional output vector of vertices of the found graphical code quadrangles. Will be empty if not found.straight_code
- The optional vector of images containing binarized codes
- If there are QR codes encoded with a Structured Append mode on the image and all of them detected and decoded correctly, method writes a full message to position corresponds to 0-th code in a sequence. The rest of QR codes from the same sequence have empty string.
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal Mat img, @ByRef StringVector decoded_info)
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal Mat img, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArray(cv::noArray())") Mat points, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") UMatVector straight_code)
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal Mat img, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArray(cv::noArray())") Mat points, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") GpuMatVector straight_code)
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal UMat img, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArray(cv::noArray())") UMat points, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") MatVector straight_code)
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal UMat img, @ByRef StringVector decoded_info)
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal UMat img, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArray(cv::noArray())") UMat points, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") UMatVector straight_code)
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal UMat img, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArray(cv::noArray())") UMat points, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") GpuMatVector straight_code)
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal GpuMat img, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArray(cv::noArray())") GpuMat points, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") MatVector straight_code)
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal GpuMat img, @ByRef StringVector decoded_info)
@Cast(value="bool") public boolean detectAndDecodeMulti(@ByVal GpuMat img, @ByRef StringVector decoded_info, @ByVal(nullValue="cv::OutputArray(cv::noArray())") GpuMat points, @ByVal(nullValue="cv::OutputArrayOfArrays(cv::noArray())") UMatVector straight_code)
Copyright © 2024. All rights reserved.