1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00
Commit Graph

191 Commits

Author SHA1 Message Date
lluisgomez
f07a00cfae remove trailing whitespace 2016-03-15 23:12:56 +01:00
lluisgomez
4092d2efe3 erGrouping python bindings and sample script textdetection.py which mimics the same detection pipeline as in textdetection.cpp 2016-03-15 22:32:31 +01:00
lluisgomez
7aedcae1ec fix MSVS warnings 2016-01-23 10:00:55 +01:00
lluisgomez
581ae6b006 fix MSVS warnings 2016-01-23 09:24:22 +01:00
lluisgomez
9281cbfd2b ERFilter python bindings 2016-01-22 22:29:05 +01:00
Patrick Snape
0900a86b58 Add float cast to OCR HMM
Required for MSVC 2008, shouldn't affect results otherwise.
2016-01-18 11:20:51 +00:00
Patrick Snape
6457fb8fff Add float cast to OCR Beemsearch
Required for MSVC 2008, shouldn't affect result otherwise.
2016-01-18 11:20:51 +00:00
Rok Mandeljc
80342bccc8 opencv_text: src/erfilter.cpp: replaced bit and/or with their logical counterparts
Variables p2-p9 are booleans, so combination of logical negation
and use of bit and/or operations in lines 2823 and 2824 results
in the following warning from gcc:
warning: suggest parentheses around operand of ‘!’ or change ‘&’
to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
2015-12-31 17:37:10 +01:00
previ
fe05681627 text python bindings 2015-11-06 20:00:28 +00:00
Maksim Shabunin
ac5fb1d804 Merge pull request #347 from sturkmen72:master 2015-10-22 12:45:00 +00:00
Lluis Gomez-Bigorda
c3042c3f51 remove trailing space 2015-08-26 21:47:36 +02:00
Lluis Gomez-Bigorda
a94753c0bf fix Win x64 warning 2015-08-26 21:17:52 +02:00
Lluis Gomez-Bigorda
b19c676559 fix Win x64 and iOS warnings 2015-08-26 21:04:27 +02:00
Lluis Gomez-Bigorda
7cd6dbb0c9 Adds two more examples of croped word recognition, and show how to set the beam size parameter for small lexicon. 2015-08-26 20:13:15 +02:00
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
Suleyman TURKMEN
e58699e69f Update webcam_demo.cpp
fix small bug
2015-08-24 03:57:37 +03:00
Lluis Gomez-Bigorda
0be529da05 Adds demo program of Scene Text Character Recognition using the CNN classifier. 2015-08-21 18:20:41 +02:00
Lluis Gomez-Bigorda
796c26f68a Fix w64 warnings 2015-08-03 22:15:31 +02:00
Lluis Gomez-Bigorda
1481194b54 Fix w64 warnings 2015-08-03 21:45:45 +02:00
Lluis Gomez-Bigorda
2315f9ca22 Minor bugfix: removes unwanted space character at the begining of recognition output strings. 2015-08-03 20:53:49 +02:00
Lluis Gomez-Bigorda
2538bf74a6 Adds example on segmented word recognition. Shows the use of the OCRHMMDecoder with the NM and CNN default classifiers. 2015-08-03 20:50:33 +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
c146d37b93 Better CNN model for character recognition. Trained with an augmented dataset by adding translation/scale variations. Updated the croped word recognition with new class numbering (compatible with previous NM classifier). 2015-08-01 13:52:00 +02:00
Vadim Pisarevsky
f9d42886f1 Merge pull request #298 from lluisgomez:master 2015-07-31 09:44:46 +00:00
Vadim Pisarevsky
f9969b0da6 Merge pull request #308 from lluisgomez/4373
Fix bug #4373:
2015-07-24 14:18:20 +03:00
lluis
43b5febc63 Fix bug #4373: Error (Assertion failed in resize) when passing very elongated contours to the recognition module 2015-07-24 11:39:42 +02:00
lluis
015e00bcdb Fix memory leak bug #4420 2015-07-23 20:01:19 +02:00
lluis
2e787d6b42 fix Winx64 warnings 2015-07-09 19:13:42 +02:00
lluis
00f670e779 update to use the new createOCRHMMTransitionsTable() function, and fix program description in header comments 2015-07-09 18:46:51 +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
7940d4d92e fix win64 compilation error: arrays must be defined with compile-time fixed size :) 2015-06-26 14:17:29 +02:00
lluis
a6b46f8b6a fix compilation warnings 2015-06-26 13:20:21 +02:00
lluis
662e2ce561 trailing whitespaces 2015-06-26 13:15:28 +02:00
lluis
9c55b98813 Add a demo program for the OCRBeamSearchDecoder class and needed data files 2015-06-26 13:04:33 +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
Lluis Gomez-Bigorda
d7410500e0 Fix for Bug #3633: do away with "quads [2][3] = 255;" The four lowest bits in each quads[i][j] correspond to the 2x2 binary patterns Q_1, Q_2, Q_3 in the NM paper [1] (see in page 4 at the end of first column). Q_1 and Q_2 have four patterns, while Q_3 has only two. 2015-06-09 16:24:36 +02:00
lluis
2dc4cd934b Fix for Bug 4074. This seems to be just a typo-error, because the Tesseract API can handle correctly with RGB images (double-checked and it works). 2015-06-09 09:36:14 +02:00
Vadim Pisarevsky
cf3dff2e9a fixed several warnings in opencv_contrib (text, xfeatures2d); added tesseract installation mini-guide in text/readme.md 2015-06-02 01:16:03 +03:00
Vadim Pisarevsky
ec2b3ed662 Merge pull request #185 from mshabunin/remove-docs
Removed sphinx documentation
2015-03-16 13:07:31 +03:00
Maksim Shabunin
67a2066c4b Java and python wrappers for contrib modules 2015-02-26 15:46:02 +03:00
Maksim Shabunin
7d9bbdcaad Remove all sphinx files 2015-02-17 12:49:37 +03:00
Maksim Shabunin
2b74ca6f12 Added opencv_contrib_world module and fixed some compilation warnings on iOS 2015-02-10 18:27:52 +03:00
Vadim Pisarevsky
c6ea683b86 Merge pull request #155 from nisargthakkar/Bug4074
Fix for Bug 4074. Both conditions of if are same
2015-01-15 15:02:29 +03:00
Jay Bosamiya
e2253ea471 Fix typo 2015-01-13 18:19:47 +05:30
Jay Bosamiya
58f2dc3b4c Fix typo 2015-01-13 18:19:08 +05:30
Nisarg Thakkar
c21fd589db Fix for Bug 4074. Both conditions of if are same 2015-01-08 12:24:19 +05:30
Maksim Shabunin
a20c5c8dd9 Doxygen documentation for all modules 2014-12-01 15:54:42 +03:00
Vadim Pisarevsky
08699f115e Merge pull request #106 from mtamburrano/adas_fix
adas fix
2014-11-07 18:18:46 +03:00
Vadim Pisarevsky
38bdd6f3f4 Merge pull request #110 from StevenPuttemans/fix_contrib_README
adding more clear documentation
2014-11-07 18:16:45 +03:00