@Namespace(value="cv::text") @Properties(inherit=opencv_text.class) public class TextDetector extends Pointer
/** \brief An abstract class providing interface for text detection algorithms
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TextDetector(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
detect(GpuMat inputImage,
RectVector Bbox,
FloatVector confidence) |
void |
detect(Mat inputImage,
RectVector Bbox,
FloatVector confidence)
\brief Method that provides a quick and simple interface to detect text inside an image
|
void |
detect(UMat inputImage,
RectVector Bbox,
FloatVector confidence) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public TextDetector(Pointer p)
Pointer.Pointer(Pointer)
.public void detect(@ByVal Mat inputImage, @ByRef RectVector Bbox, @ByRef FloatVector confidence)
inputImage
- an image to processBbox
- a vector of Rect that will store the detected word bounding boxconfidence
- a vector of float that will be updated with the confidence the classifier has for the selected bounding boxpublic void detect(@ByVal UMat inputImage, @ByRef RectVector Bbox, @ByRef FloatVector confidence)
public void detect(@ByVal GpuMat inputImage, @ByRef RectVector Bbox, @ByRef FloatVector confidence)
Copyright © 2020. All rights reserved.