TextDetectorCNN class provides the functionallity of text bounding box detection. This class is representing to find bounding boxes of text words given an input image. This class uses OpenCV dnn module to load pre-trained model described in [LiaoSBWL17]. The original repository with the modified SSD Caffe version: https://github.com/MhLiao/TextBoxes. Model can be downloaded from DropBox. Modified .prototxt file with the model description can be found in opencv_contrib/modules/text/samples/textbox.prototxt
.
More...
TextDetectorCNN class provides the functionallity of text bounding box detection. This class is representing to find bounding boxes of text words given an input image. This class uses OpenCV dnn module to load pre-trained model described in [LiaoSBWL17]. The original repository with the modified SSD Caffe version: https://github.com/MhLiao/TextBoxes. Model can be downloaded from DropBox. Modified .prototxt file with the model description can be found in opencv_contrib/modules/text/samples/textbox.prototxt
.
◆ __fromPtr__()
static new TextDetectorCNN OpenCVForUnity.TextModule.TextDetectorCNN.__fromPtr__ |
( |
IntPtr | addr | ) |
|
|
static |
◆ create()
static TextDetectorCNN OpenCVForUnity.TextModule.TextDetectorCNN.create |
( |
string | modelArchFilename, |
|
|
string | modelWeightsFilename ) |
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ detect()
override void OpenCVForUnity.TextModule.TextDetectorCNN.detect |
( |
Mat | inputImage, |
|
|
MatOfRect | Bbox, |
|
|
MatOfFloat | confidence ) |
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Parameters
-
inputImage | an image expected to be a CV_U8C3 of any size |
Bbox | a vector of Rect that will store the detected word bounding box |
confidence | a vector of float that will be updated with the confidence the classifier has for the selected bounding box |
Reimplemented from OpenCVForUnity.TextModule.TextDetector.
◆ Dispose()
override void OpenCVForUnity.TextModule.TextDetectorCNN.Dispose |
( |
bool | disposing | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: