1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 12:55:15 +08:00
Commit Graph

17 Commits

Author SHA1 Message Date
Lluis Gomez-Bigorda
cc43177675 OCRBeamSearchDecoder code refactor: fixes most of the TODOs comments, cleans-up code, and fix a bug in score_segmentation(...) member function. 2015-08-26 20:11:17 +02:00
lluis
ee677a255b Overload the run() method in BaseOCR class in order to adapt to different classifier callbacks. The original run() method accepts only one Mat input image, this is expected to be a binarzed image with black and white text and works both with the OCRTesseract class and the OCRHMMDecoder class when the character classifier callback works with binary images (e.g. NM). The new run() method accepts two Mat input parameters. One for the gray scale (or color) source image and the other for a binary mask where each connected component corresponds to a pre-segmented character in the input image. This way the OCRHMMDecoder is able to work with character classifiers that operate in grey scale (or color) images (e.g. a CNN). 2015-08-01 13:52:24 +02:00
lluis
e4cc9a77a9 Adds createOCRHMMTransitionsTable() utility function to create a tailored language model transitions table from a given list of words (lexicon) 2015-07-09 18:40:11 +02:00
lluis
c5bfcb95d1 fix doxygen warnings 2015-06-26 14:27:52 +02:00
lluis
52cca0ddc6 Adds a first implementation of the OCRBeamSearchDecoder class using the Single Layer CNN character classifier described in Coates, Adam, et al. paper: Text detection and character recognition in scene images with unsupervised feature learning, ICDAR 2011 2015-06-26 13:03:50 +02:00
Jay Bosamiya
58f2dc3b4c Fix typo 2015-01-13 18:19:08 +05:30
Maksim Shabunin
a20c5c8dd9 Doxygen documentation for all modules 2014-12-01 15:54:42 +03:00
Maksim Shabunin
bad3cd2427 Fixed some existing doxygen comments 2014-10-21 16:03:02 +04:00
lluis
67da3f0691 adds class OCRHMMDecoder API interface and implementation 2014-08-14 21:15:22 +02:00
lluis
493785a785 moves implementation to cpp file and removes using directive from header file 2014-08-14 10:56:48 +02:00
lluis
5073d5bc91 refactors OCRTesseract interface 2014-08-13 20:55:29 +02:00
lluis
007b1d9cb0 adds MSERsToERStats function and its documentation; adds webcam_demo sample code and modifies cmakelists to link with features2d module 2014-08-01 18:26:20 +02:00
lluis
5c89c786f2 Adds OCRTesseract class and sample demo 2014-07-31 13:47:34 +02:00
lluis
b56353a7ae fix a bug that prevents opencv_python module to build together with opecv_text 2014-07-31 10:21:34 +02:00
lluis
157e08f3f2 fix warnings from MSVC and remove trailing whitespaces 2014-07-30 19:10:05 +02:00
lluis
786876c0f2 Adds The exhaustive search algorithm and updates the previous grouping code 2014-07-30 16:19:43 +02:00
Vadim Pisarevsky
4906050ea1 added "text" module; added linemod to rgbd module, fixed compile errors in rgbd. 2014-07-28 18:01:19 +04:00