added space between characters for better training

adding space between characters will avoid box overlapping and greatly reduce the failures in the training process (it helps find good blobs).
This commit is contained in:
Roberto Carvajal
2015-04-14 15:39:46 -03:00
parent 081863faff
commit 7d1a5bca94

View File

@@ -69,7 +69,7 @@ int main( int argc, const char** argv )
const int HORIZONTAL_RESOLUTION = 3500; const int HORIZONTAL_RESOLUTION = 3500;
const int MAX_VERTICAL_RESOLUTION = 6000; // Maximum vertical size before chopping into additional pages. const int MAX_VERTICAL_RESOLUTION = 6000; // Maximum vertical size before chopping into additional pages.
const int TILE_WIDTH = 25; const int TILE_WIDTH = 50;
const int TILE_HEIGHT = 60; const int TILE_HEIGHT = 60;
const int CHAR_HORIZ_OFFSET = 40; const int CHAR_HORIZ_OFFSET = 40;
const int CHAR_VERT_OFFSET = 48; const int CHAR_VERT_OFFSET = 48;