@Namespace(value="cv::dnn") @Properties(inherit=opencv_dnn.class) public class TextDetectionModel_DB extends TextDetectionModel
Model.Impl
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TextDetectionModel_DB() |
TextDetectionModel_DB(BytePointer model) |
TextDetectionModel_DB(BytePointer model,
BytePointer config)
\brief Create text detection model from network represented in one of the supported formats.
|
TextDetectionModel_DB(long size)
Native array allocator.
|
TextDetectionModel_DB(Net network)
\brief Create text detection algorithm from deep learning network.
|
TextDetectionModel_DB(Pointer p)
Pointer cast constructor.
|
TextDetectionModel_DB(String model) |
TextDetectionModel_DB(String model,
String config) |
Modifier and Type | Method and Description |
---|---|
float |
getBinaryThreshold() |
int |
getMaxCandidates() |
TextDetectionModel_DB |
getPointer(long i) |
float |
getPolygonThreshold() |
double |
getUnclipRatio() |
TextDetectionModel_DB |
position(long position) |
TextDetectionModel_DB |
setBinaryThreshold(float binaryThreshold) |
TextDetectionModel_DB |
setMaxCandidates(int maxCandidates) |
TextDetectionModel_DB |
setPolygonThreshold(float polygonThreshold) |
TextDetectionModel_DB |
setUnclipRatio(double unclipRatio) |
detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detectTextRectangles, detectTextRectangles, detectTextRectangles, detectTextRectangles, detectTextRectangles, detectTextRectangles, detectTextRectangles, detectTextRectangles, detectTextRectangles, detectTextRectangles, detectTextRectangles, detectTextRectangles
asNet, enableWinograd, getImpl, getImplRef, getNetwork_, predict, predict, predict, predict, predict, predict, predict, predict, predict, put, setInputCrop, setInputMean, setInputParams, setInputParams, setInputScale, setInputSize, setInputSize, setInputSwapRB, setPreferableBackend, setPreferableTarget
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 TextDetectionModel_DB(Pointer p)
Pointer(Pointer)
.public TextDetectionModel_DB(long size)
Pointer.position(long)
.public TextDetectionModel_DB()
public TextDetectionModel_DB(@Const @ByRef Net network)
network
- [in] Net object.public TextDetectionModel_DB(@StdString BytePointer model, @StdString BytePointer config)
model
- [in] Binary file contains trained weights.config
- [in] Text file contains network configuration.public TextDetectionModel_DB(@StdString BytePointer model)
public TextDetectionModel_DB(@StdString String model, @StdString String config)
public TextDetectionModel_DB(@StdString String model)
public TextDetectionModel_DB position(long position)
public TextDetectionModel_DB getPointer(long i)
getPointer
in class Model
@ByRef public TextDetectionModel_DB setBinaryThreshold(float binaryThreshold)
public float getBinaryThreshold()
@ByRef public TextDetectionModel_DB setPolygonThreshold(float polygonThreshold)
public float getPolygonThreshold()
@ByRef public TextDetectionModel_DB setUnclipRatio(double unclipRatio)
public double getUnclipRatio()
@ByRef public TextDetectionModel_DB setMaxCandidates(int maxCandidates)
public int getMaxCandidates()
Copyright © 2024. All rights reserved.