Max-Wang
f1892ad916
fix erGrouping parameter error
8 years ago
Haaris
58f7afcb2d
Merge pull request #1066 from hsed:patch-1
...
fixed typo in comment (#1066 )
Line 139: Fixed typo of word "length".
8 years ago
goldstar616
478baf937f
Merge pull request #981 from goldstar616:master
...
issue #980 resolves - Some module has a round error similar to #975 . (#981 )
* round function changes to cvRound
Minor changes to fix lower visual studio version build errors.
* round function changes to cvRound
Minor changes to fix lower visual studio version build errors.
* round function changes to cvRound
Minor changes to fix lower visual studio version build errors.
8 years ago
Alexander Alekhin
cee4edbbfd
cmake: add global defines to enable useful macros
8 years ago
logic1988
99294995f0
Merge pull request #921 from logic1988/master
...
Bug in Text module when set Optimization Level to "-Ofast" in xcode (#921 )
* Bug in Text module when set Optimization Level to "-Ofast" in xcode
Bug when set Optimization Level to "-Ofast" (Fastest, Aggressive Optimizations) in xcode, read the wrong patch_size parameters to 7 (should be 8). This bug will occured in loadOCRHMMClassifierCNN function called by example_text_character_recognition and example_text_segmented_word_recognition.
* Bug in Text module when set Optimization Level to "-Ofast" in xcode
Bug when set Optimization Level to "-Ofast" (Fastest, Aggressive Optimizations) in xcode, read the wrong patch_size parameters to 7 (should be 8). This bug will occured in loadOCRHMMClassifierCNN function called by example_text_character_recognition and example_text_segmented_word_recognition.
8 years ago
Alexander Alekhin
c028502f76
cmake: fix CMake error
...
"install DIRECTORY does not allow "COMPONENT" after PATTERN or REGEX"
8 years ago
Alexander Alekhin
e1f01bafa0
text: add simple test
8 years ago
Alexander Alekhin
b5d9ca9be7
text: update cmake
8 years ago
Alexander Alekhin
31d1137890
text: minor refactoring in C++ sample
8 years ago
Alexander Alekhin
1dc84e81e5
text: refactor floodfill + findContours code patterns
8 years ago
Alexander Alekhin
d632079783
text: update detectRegions()
8 years ago
Alexander Alekhin
590dc2986d
text: fix valgrind errors, minor changes
8 years ago
Vladislav Sovrasov
bedd1f763c
Replace a dummy pointer with the smart in ERStat
8 years ago
Vladislav Sovrasov
c15051611e
Fix ERFilterNM fails on some images
8 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
9 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