diff --git a/modules/text/samples/OCRBeamSearch_CNN_model_data.xml.gz b/modules/text/samples/OCRBeamSearch_CNN_model_data.xml.gz index 554052811..048f1d5b7 100644 Binary files a/modules/text/samples/OCRBeamSearch_CNN_model_data.xml.gz and b/modules/text/samples/OCRBeamSearch_CNN_model_data.xml.gz differ diff --git a/modules/text/samples/cropped_word_recognition.cpp b/modules/text/samples/cropped_word_recognition.cpp index 583f4ff01..65ac792f1 100644 --- a/modules/text/samples/cropped_word_recognition.cpp +++ b/modules/text/samples/cropped_word_recognition.cpp @@ -36,7 +36,7 @@ int main(int argc, char* argv[]) return(0); } - string vocabulary = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyx0123456789"; // must have the same order as the clasifier output classes + string vocabulary = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; // must have the same order as the clasifier output classes vector lexicon; // a list of words expected to be found on the input image lexicon.push_back(string("abb")); lexicon.push_back(string("patata"));