mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 02:16:34 +08:00
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).
This commit is contained in:
Binary file not shown.
@@ -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<string> lexicon; // a list of words expected to be found on the input image
|
||||
lexicon.push_back(string("abb"));
|
||||
lexicon.push_back(string("patata"));
|
||||
|
Reference in New Issue
Block a user