[ocrfeeder] Added the format to the default engines' arguments



commit 2f39b3d5ac2f0704225d6eaf15d05af5815017c9
Author: Joaquim Rocha <jrocha igalia com>
Date:   Thu Mar 4 15:47:34 2010 +0100

    Added the format to the default engines' arguments

 studio/configuration.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/studio/configuration.py b/studio/configuration.py
index 6739afd..e59226c 100644
--- a/studio/configuration.py
+++ b/studio/configuration.py
@@ -35,11 +35,11 @@ PREDEFINED_ENGINES = {'tesseract': {'name': 'Tesseract',
                       'ocrad': {'name': 'Ocrad',
                                 'image_format': 'PPM',
                                 'engine_path': 'ocrad',
-                                'arguments': '$IMAGE'},
+                                'arguments': '-F utf8 $IMAGE'},
                       'gocr': {'name': 'GOCR',
                                'image_format': 'PPM',
                                'engine_path': 'gocr',
-                               'arguments': '$IMAGE'},
+                               'arguments': '-f UTF8 $IMAGE'},
                      }
 
 class ProjectSaver:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]