@Namespace(value="cv::text") public static class opencv_text.TextDetectorCNN extends opencv_text.TextDetector
opencv_contrib/modules/text/samples/textbox.prototxt.| Constructor and Description |
|---|
TextDetectorCNN(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static opencv_text.TextDetectorCNN |
create(org.bytedeco.javacpp.BytePointer modelArchFilename,
org.bytedeco.javacpp.BytePointer modelWeightsFilename)
\overload
|
static opencv_text.TextDetectorCNN |
create(org.bytedeco.javacpp.BytePointer modelArchFilename,
org.bytedeco.javacpp.BytePointer modelWeightsFilename,
opencv_core.SizeVector detectionSizes)
\brief Creates an instance of the TextDetectorCNN class using the provided parameters.
|
static opencv_text.TextDetectorCNN |
create(String modelArchFilename,
String modelWeightsFilename) |
static opencv_text.TextDetectorCNN |
create(String modelArchFilename,
String modelWeightsFilename,
opencv_core.SizeVector detectionSizes) |
void |
detect(opencv_core.GpuMat inputImage,
opencv_core.RectVector Bbox,
float[] confidence) |
void |
detect(opencv_core.GpuMat inputImage,
opencv_core.RectVector Bbox,
FloatBuffer confidence) |
void |
detect(opencv_core.GpuMat inputImage,
opencv_core.RectVector Bbox,
org.bytedeco.javacpp.FloatPointer confidence) |
void |
detect(opencv_core.Mat inputImage,
opencv_core.RectVector Bbox,
float[] confidence) |
void |
detect(opencv_core.Mat inputImage,
opencv_core.RectVector Bbox,
FloatBuffer confidence) |
void |
detect(opencv_core.Mat inputImage,
opencv_core.RectVector Bbox,
org.bytedeco.javacpp.FloatPointer confidence)
\overload
|
void |
detect(opencv_core.UMat inputImage,
opencv_core.RectVector Bbox,
float[] confidence) |
void |
detect(opencv_core.UMat inputImage,
opencv_core.RectVector Bbox,
FloatBuffer confidence) |
void |
detect(opencv_core.UMat inputImage,
opencv_core.RectVector Bbox,
org.bytedeco.javacpp.FloatPointer confidence) |
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, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic TextDetectorCNN(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void detect(@ByVal
opencv_core.Mat inputImage,
@ByRef
opencv_core.RectVector Bbox,
@StdVector
org.bytedeco.javacpp.FloatPointer confidence)
detect in class opencv_text.TextDetectorinputImage - an image expected to be a CV_U8C3 of any sizeBbox - 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
opencv_core.Mat inputImage,
@ByRef
opencv_core.RectVector Bbox,
@StdVector
FloatBuffer confidence)
detect in class opencv_text.TextDetectorpublic void detect(@ByVal
opencv_core.Mat inputImage,
@ByRef
opencv_core.RectVector Bbox,
@StdVector
float[] confidence)
detect in class opencv_text.TextDetectorpublic void detect(@ByVal
opencv_core.UMat inputImage,
@ByRef
opencv_core.RectVector Bbox,
@StdVector
org.bytedeco.javacpp.FloatPointer confidence)
detect in class opencv_text.TextDetectorpublic void detect(@ByVal
opencv_core.UMat inputImage,
@ByRef
opencv_core.RectVector Bbox,
@StdVector
FloatBuffer confidence)
detect in class opencv_text.TextDetectorpublic void detect(@ByVal
opencv_core.UMat inputImage,
@ByRef
opencv_core.RectVector Bbox,
@StdVector
float[] confidence)
detect in class opencv_text.TextDetectorpublic void detect(@ByVal
opencv_core.GpuMat inputImage,
@ByRef
opencv_core.RectVector Bbox,
@StdVector
org.bytedeco.javacpp.FloatPointer confidence)
detect in class opencv_text.TextDetectorpublic void detect(@ByVal
opencv_core.GpuMat inputImage,
@ByRef
opencv_core.RectVector Bbox,
@StdVector
FloatBuffer confidence)
detect in class opencv_text.TextDetectorpublic void detect(@ByVal
opencv_core.GpuMat inputImage,
@ByRef
opencv_core.RectVector Bbox,
@StdVector
float[] confidence)
detect in class opencv_text.TextDetector@opencv_core.Ptr public static opencv_text.TextDetectorCNN create(@opencv_core.Str org.bytedeco.javacpp.BytePointer modelArchFilename, @opencv_core.Str org.bytedeco.javacpp.BytePointer modelWeightsFilename, @ByVal opencv_core.SizeVector detectionSizes)
modelArchFilename - the relative or absolute path to the prototxt file describing the classifiers architecture.modelWeightsFilename - the relative or absolute path to the file containing the pretrained weights of the model in caffe-binary form.detectionSizes - a list of sizes for multiscale detection. The values[(300,300),(700,500),(700,300),(700,700),(1600,1600)] are
recommended in \cite LiaoSBWL17 to achieve the best quality.@opencv_core.Ptr public static opencv_text.TextDetectorCNN create(@opencv_core.Str String modelArchFilename, @opencv_core.Str String modelWeightsFilename, @ByVal opencv_core.SizeVector detectionSizes)
@opencv_core.Ptr public static opencv_text.TextDetectorCNN create(@opencv_core.Str org.bytedeco.javacpp.BytePointer modelArchFilename, @opencv_core.Str org.bytedeco.javacpp.BytePointer modelWeightsFilename)
@opencv_core.Ptr public static opencv_text.TextDetectorCNN create(@opencv_core.Str String modelArchFilename, @opencv_core.Str String modelWeightsFilename)
Copyright © 2018. All rights reserved.