Class cv::dnn::TextDetectionModel_EAST#
This class represents high-level API for text detection DL networks compatible with EAST model. View details
#include <opencv2/dnn/dnn.hpp>Collaboration diagram for cv::dnn::TextDetectionModel_EAST:
Public Member Functions#
Public Member Functions inherited from cv::dnn::TextDetectionModel
Return |
Name |
Description |
|---|---|---|
|
|
|
|
Performs detection. |
|
|
|
|
|
Performs detection. |
Public Member Functions inherited from cv::dnn::Model
Return |
Name |
Description |
|---|---|---|
Create model from deep learning network. |
||
|
Create model from deep learning network represented in one of the supported formats. An order of model and config arguments does not matter. |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Given the input frame, create input blob, run net and return the output blobs. |
|
|
Set flag crop for frame. |
|
|
Set mean value for frame. |
|
|
Set preprocessing parameters for frame. |
|
|
Set scalefactor value for frame. |
|
|
Set input size for frame. |
|
|
||
|
Set flag swapRB for frame. |
|
|
Set output names for frame. |
|
|
||
|
Additional Inherited Members#
Protected Member Functions inherited from cv::dnn::TextDetectionModel
Return |
Name |
Description |
|---|---|---|
Protected Attributes inherited from cv::dnn::Model
Detailed Description#
This class represents high-level API for text detection DL networks compatible with EAST model.
Configurable parameters:
(float) confThreshold - used to filter boxes by confidences, default: 0.5f
(float) nmsThreshold - used in non maximum suppression, default: 0.0f
- Examples
- samples/dnn/text_detection.cpp.
Constructor & Destructor Documentation#
TextDetectionModel_EAST()#
cv::dnn::TextDetectionModel_EAST::TextDetectionModel_EAST()
Python:
cv.dnn.TextDetectionModel_EAST(network) -> <dnn_TextDetectionModel_EAST object>
cv.dnn.TextDetectionModel_EAST(model[, config]) -> <dnn_TextDetectionModel_EAST object>
TextDetectionModel_EAST()#
cv::dnn::TextDetectionModel_EAST::TextDetectionModel_EAST(const Net & network)
Python:
cv.dnn.TextDetectionModel_EAST(network) -> <dnn_TextDetectionModel_EAST object>
cv.dnn.TextDetectionModel_EAST(model[, config]) -> <dnn_TextDetectionModel_EAST object>
Create text detection algorithm from deep learning network.
Parameters
network— Net object
TextDetectionModel_EAST()#
cv::dnn::TextDetectionModel_EAST::TextDetectionModel_EAST(
CV_WRAP_FILE_PATH const std::string & model,
CV_WRAP_FILE_PATH const std::string & config = “” )
Python:
cv.dnn.TextDetectionModel_EAST(network) -> <dnn_TextDetectionModel_EAST object>
cv.dnn.TextDetectionModel_EAST(model[, config]) -> <dnn_TextDetectionModel_EAST object>
Create text detection model from network represented in one of the supported formats. An order of model and config arguments does not matter.
Parameters
model— Binary file contains trained weights.config— Text file contains network configuration.
Here is the call graph for this function:
Member Function Documentation#
getConfidenceThreshold()#
float cv::dnn::TextDetectionModel_EAST::getConfidenceThreshold()
Python:
cv.dnn.TextDetectionModel_EAST.getConfidenceThreshold() -> retval
Get the detection confidence threshold.
getNMSThreshold()#
float cv::dnn::TextDetectionModel_EAST::getNMSThreshold()
Python:
cv.dnn.TextDetectionModel_EAST.getNMSThreshold() -> retval
Get the detection confidence threshold.
setConfidenceThreshold()#
TextDetectionModel_EAST & cv::dnn::TextDetectionModel_EAST::setConfidenceThreshold(float confThreshold)
Python:
cv.dnn.TextDetectionModel_EAST.setConfidenceThreshold(confThreshold) -> retval
Set the detection confidence threshold.
Parameters
confThreshold— A threshold used to filter boxes by confidences
setNMSThreshold()#
TextDetectionModel_EAST & cv::dnn::TextDetectionModel_EAST::setNMSThreshold(float nmsThreshold)
Python:
cv.dnn.TextDetectionModel_EAST.setNMSThreshold(nmsThreshold) -> retval
Set the detection NMS filter threshold.
Parameters
nmsThreshold— A threshold used in non maximum suppression
Source file#
The documentation for this class was generated from the following file:
opencv2/dnn/dnn.hpp