11 Commits (6bfb40220730dd1e271e2bc6289b16bec803d921)

Author SHA1 Message Date
previ fe05681627 text python bindings 10 years ago
Lluis Gomez-Bigorda 796c26f68a Fix w64 warnings 10 years ago
Lluis Gomez-Bigorda 1481194b54 Fix w64 warnings 10 years ago
Lluis Gomez-Bigorda 2315f9ca22 Minor bugfix: removes unwanted space character at the begining of recognition output strings. 10 years ago
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). 10 years ago
lluis 43b5febc63 Fix bug #4373: Error (Assertion failed in resize) when passing very elongated contours to the recognition module 10 years ago
lluis 2e787d6b42 fix Winx64 warnings 10 years ago
lluis e4cc9a77a9 Adds createOCRHMMTransitionsTable() utility function to create a tailored language model transitions table from a given list of words (lexicon) 10 years ago
lluis 0898fb9d86 fix MSVC warnings 11 years ago
lluis 67da3f0691 adds class OCRHMMDecoder API interface and implementation 11 years ago