public class TextDetectionModel_EAST extends TextDetectionModel
| Modifier | Constructor and Description |
|---|---|
protected |
TextDetectionModel_EAST(long addr) |
|
TextDetectionModel_EAST(Net network)
Create text detection algorithm from deep learning network
|
|
TextDetectionModel_EAST(String model)
Create text detection model from network represented in one of the supported formats.
|
|
TextDetectionModel_EAST(String model,
String config)
Create text detection model from network represented in one of the supported formats.
|
| Modifier and Type | Method and Description |
|---|---|
static TextDetectionModel_EAST |
__fromPtr__(long addr) |
protected void |
finalize() |
float |
getConfidenceThreshold()
Get the detection confidence threshold
|
float |
getNMSThreshold()
Get the detection confidence threshold
|
TextDetectionModel_EAST |
setConfidenceThreshold(float confThreshold)
Set the detection confidence threshold
|
TextDetectionModel_EAST |
setNMSThreshold(float nmsThreshold)
Set the detection NMS filter threshold
|
detect, detect, detectTextRectangles, detectTextRectanglesgetNativeObjAddr, predict, setInputCrop, setInputMean, setInputParams, setInputParams, setInputParams, setInputParams, setInputParams, setInputParams, setInputScale, setInputSize, setInputSize, setInputSwapRB, setPreferableBackend, setPreferableTargetprotected TextDetectionModel_EAST(long addr)
public TextDetectionModel_EAST(Net network)
network - Net objectpublic TextDetectionModel_EAST(String model, String config)
model and config arguments does not matter.model - Binary file contains trained weights.config - Text file contains network configuration.public TextDetectionModel_EAST(String model)
model and config arguments does not matter.model - Binary file contains trained weights.public static TextDetectionModel_EAST __fromPtr__(long addr)
public TextDetectionModel_EAST setConfidenceThreshold(float confThreshold)
confThreshold - A threshold used to filter boxes by confidencespublic float getConfidenceThreshold()
public TextDetectionModel_EAST setNMSThreshold(float nmsThreshold)
nmsThreshold - A threshold used in non maximum suppressionpublic float getNMSThreshold()
protected void finalize()
throws Throwable
finalize in class TextDetectionModelThrowableCopyright © 2021. All rights reserved.