You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// TextDetectorCNN class provides the functionality of text bounding box detection.
11
+
/// </summary>
12
+
/// <remarks>
13
+
/// This class is representing to find bounding boxes of text words given an input image.
14
+
/// This class uses OpenCV dnn module to load pre-trained model described in @cite LiaoSBWL17.
15
+
/// The original repository with the modified SSD Caffe version: https://github.com/MhLiao/TextBoxes.
16
+
/// Model can be downloaded from[DropBox](https://www.dropbox.com/s/g8pjzv2de9gty8g/TextBoxes_icdar13.caffemodel?dl=0).
17
+
/// Modified.prototxt file with the model description can be found in `opencv_contrib/modules/text/samples/textbox.prototxt`.
18
+
/// </remarks>
19
+
publicclassTextDetectorCNN:TextDetector
20
+
{
21
+
/// <summary>
22
+
/// cv::Ptr<T>
23
+
/// </summary>
24
+
privatePtrobjectPtr;
25
+
26
+
/// <summary>
27
+
/// Creates an instance of the TextDetectorCNN class using the provided parameters.
28
+
/// </summary>
29
+
/// <param name="modelArchFilename">the relative or absolute path to the prototxt file describing the classifiers architecture.</param>
30
+
/// <param name="modelWeightsFilename">the relative or absolute path to the file containing the pretrained weights of the model in caffe-binary form.</param>
31
+
/// <param name="detectionSizes">a list of sizes for multiscale detection. The values`[(300,300),(700,500),(700,300),(700,700),(1600,1600)]` are recommended in @cite LiaoSBWL17 to achieve the best quality.</param>
/// Creates an instance of the TextDetectorCNN class using the provided parameters.
52
+
/// </summary>
53
+
/// <param name="modelArchFilename">the relative or absolute path to the prototxt file describing the classifiers architecture.</param>
54
+
/// <param name="modelWeightsFilename">the relative or absolute path to the file containing the pretrained weights of the model in caffe-binary form.</param>
0 commit comments