1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-18 17:24:28 +08:00

Merge pull request #2464 from devanshbatra04:master

Add Stroke Width Transform algorithm for Text Detection

* added SWTTextDetection code

* remove warnings from opencv_text compilation

* added bib for SWT Text Detection

* resolve initial pr suggestions

* change file name according to convention

* added optional OutputArray

* removed bug related to letter candidature

* added unit tests for stroke width transform text detection

* Added demo program

* made all minor edits required

* corrected findDataFilePath and removed manual allocation

* Added ArgumentParser

* corrected typo

* remove headers not allowed

* correct test case

* corrected float typecast warnings and test case

* remove final double correction and problematic test case

* test(swt): coding style

* finalminor bug corrections
This commit is contained in:
Devansh Batra
2020-04-19 17:46:05 +05:30
committed by GitHub
parent 2a293da61b
commit aba93d5fd5
6 changed files with 1025 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ the use of this software, even if advised of the possibility of such damage.
#include "opencv2/text/erfilter.hpp"
#include "opencv2/text/ocr.hpp"
#include "opencv2/text/textDetector.hpp"
#include "opencv2/text/swt_text_detection.hpp"
/** @defgroup text Scene Text Detection and Recognition