b81dce8d22
PR: 135065 Submitted by: ismail yenigul <ismail.yenigul@endersys.com.tr>
18 lines
485 B
Text
18 lines
485 B
Text
--- FuzzyOcr.preps.orig 2009-05-29 23:07:02.000000000 +0300
|
|
+++ FuzzyOcr.preps 2009-05-29 23:08:23.000000000 +0300
|
|
@@ -21,10 +21,11 @@
|
|
command = pamtopnm
|
|
}
|
|
|
|
-# Uses thresholding on the PAM file
|
|
-preprocessor pamthreshold {
|
|
- command = pamthreshold
|
|
- args = -simple -threshold 0.5
|
|
+
|
|
+# Uses pamditherbw with thresholding on the PAM file
|
|
+preprocessor pamditherbw {
|
|
+ command = pamditherbw
|
|
+ args = -threshold
|
|
}
|
|
|
|
# converts PNM to TIFF (this is used for tesseract)
|