Alexander Alekhin
e1f01bafa0
text: add simple test
9 years ago
Alexander Alekhin
b5d9ca9be7
text: update cmake
9 years ago
Alexander Alekhin
31d1137890
text: minor refactoring in C++ sample
9 years ago
Alexander Alekhin
1dc84e81e5
text: refactor floodfill + findContours code patterns
9 years ago
Alexander Alekhin
d632079783
text: update detectRegions()
9 years ago
Alexander Alekhin
590dc2986d
text: fix valgrind errors, minor changes
9 years ago
Vladislav Sovrasov
bedd1f763c
Replace a dummy pointer with the smart in ERStat
9 years ago
Vladislav Sovrasov
c15051611e
Fix ERFilterNM fails on some images
9 years ago
berak
c3c9723fbd
text: fix memleak in ocr_hmm_decoder
...
changed double *p to vector<double>
9 years ago
Alexander Alekhin
823dea726f
migration: github.com/opencv/opencv_contrib
9 years ago
StevenPuttemans
dd33354fd5
fix the CMAKE order for issue #630
...
ensure that the double pass through CMakeLists.txt files do not generate double output
9 years ago
lluisgomez
f07a00cfae
remove trailing whitespace
9 years ago
lluisgomez
4092d2efe3
erGrouping python bindings and sample script textdetection.py which mimics the same detection pipeline as in textdetection.cpp
9 years ago
lluisgomez
7aedcae1ec
fix MSVS warnings
9 years ago
lluisgomez
581ae6b006
fix MSVS warnings
9 years ago
lluisgomez
9281cbfd2b
ERFilter python bindings
9 years ago
Patrick Snape
0900a86b58
Add float cast to OCR HMM
...
Required for MSVC 2008, shouldn't affect results otherwise.
9 years ago
Patrick Snape
6457fb8fff
Add float cast to OCR Beemsearch
...
Required for MSVC 2008, shouldn't affect result otherwise.
9 years ago
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]
9 years ago
previ
fe05681627
text python bindings
10 years ago
Lluis Gomez-Bigorda
c3042c3f51
remove trailing space
10 years ago
Lluis Gomez-Bigorda
a94753c0bf
fix Win x64 warning
10 years ago
Lluis Gomez-Bigorda
b19c676559
fix Win x64 and iOS warnings
10 years ago
Lluis Gomez-Bigorda
7cd6dbb0c9
Adds two more examples of croped word recognition, and show how to set the beam size parameter for small lexicon.
10 years ago
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.
10 years ago
Suleyman TURKMEN
e58699e69f
Update webcam_demo.cpp
...
fix small bug
10 years ago
Lluis Gomez-Bigorda
0be529da05
Adds demo program of Scene Text Character Recognition using the CNN classifier.
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 Gomez-Bigorda
2538bf74a6
Adds example on segmented word recognition. Shows the use of the OCRHMMDecoder with the NM and CNN default classifiers.
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
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).
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
015e00bcdb
Fix memory leak bug #4420
10 years ago
lluis
2e787d6b42
fix Winx64 warnings
10 years ago
lluis
00f670e779
update to use the new createOCRHMMTransitionsTable() function, and fix program description in header comments
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
c5bfcb95d1
fix doxygen warnings
10 years ago
lluis
7940d4d92e
fix win64 compilation error: arrays must be defined with compile-time fixed size :)
10 years ago
lluis
a6b46f8b6a
fix compilation warnings
10 years ago
lluis
662e2ce561
trailing whitespaces
10 years ago
lluis
9c55b98813
Add a demo program for the OCRBeamSearchDecoder class and needed data files
10 years ago
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
10 years ago
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.
10 years ago
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).
10 years ago
Vadim Pisarevsky
cf3dff2e9a
fixed several warnings in opencv_contrib (text, xfeatures2d); added tesseract installation mini-guide in text/readme.md
10 years ago
Maksim Shabunin
67a2066c4b
Java and python wrappers for contrib modules
10 years ago
Maksim Shabunin
7d9bbdcaad
Remove all sphinx files
10 years ago
Maksim Shabunin
2b74ca6f12
Added opencv_contrib_world module and fixed some compilation warnings on iOS
10 years ago