openbsd-ports/mail/p5-FuzzyOcr/patches/patch-FuzzyOcr_preps
merdely 2a813080bc FuzzyOcr is a plugin for SpamAssassin which is aimed at unsolicited bulk
mail (also known as "Spam") containing images as the main content
carrier. Using different methods, it analyzes the content and properties
of images to distinguish between normal mails (Ham) and spam mails. The
methods mainly are:

* Optical Character Recognition using different engines and settings
* Fuzzy word matching algorithm applied to OCR results
* Image hashing system to learn unique properties of known spam images
* Dimension, size and integrity checking of images
* Content-Type verification for the containing email

Help from William Yodlowsky <bsd () openbsd.rutgers.edu>
Help and ok steven@, simon@
2007-10-04 19:53:49 +00:00

15 lines
385 B
Plaintext

$OpenBSD: patch-FuzzyOcr_preps,v 1.1.1.1 2007/10/04 19:53:49 merdely Exp $
--- FuzzyOcr.preps.orig Tue Sep 4 13:31:13 2007
+++ FuzzyOcr.preps Mon Sep 17 14:21:43 2007
@@ -33,3 +33,10 @@ preprocessor maketiff {
args = -color -truecolor
}
+# Uses pamditherbw with thresholding on the PAM file
+preprocessor pamditherbw {
+ command = pamditherbw
+ args = -threshold
+}
+
+