public class TextDetectionModel_EAST extends TextDetectionModel
| Constructor and Description |
|---|
TextDetectionModel_EAST(Net network)
Create text detection algorithm from deep learning network
|
TextDetectionModel_EAST(java.lang.String model)
Create text detection model from network represented in one of the supported formats.
|
TextDetectionModel_EAST(java.lang.String model,
java.lang.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) |
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, setPreferableTargetpublic TextDetectionModel_EAST(Net network)
network - Net objectpublic TextDetectionModel_EAST(java.lang.String model)
model and config arguments does not matter.model - Binary file contains trained weights.public TextDetectionModel_EAST(java.lang.String model,
java.lang.String config)
model and config arguments does not matter.model - Binary file contains trained weights.config - Text file contains network configuration.public static TextDetectionModel_EAST __fromPtr__(long addr)
public float getConfidenceThreshold()
public float getNMSThreshold()
public TextDetectionModel_EAST setConfidenceThreshold(float confThreshold)
confThreshold - A threshold used to filter boxes by confidencespublic TextDetectionModel_EAST setNMSThreshold(float nmsThreshold)
nmsThreshold - A threshold used in non maximum suppressionGenerated on 2023-06-28 12:47:21 / OpenCV 4.8.0