#perl -e shell -MCPAN >install Digest::MD5 String::Approx Time::HiRes Log::Agent MLDBM::Sync |
tar -xzvf ./netpbm-10.26.37.tgz configure (answer questions) make make package pkgdir=/usr/lib/netpbm ./installnetpbm |
tar -xzvf ./giflib-4.1.4.tar.gz cd giflib-4.1.4 ./configure make make install tar -xzvf libungif-4.1.4.tar.gz cd libungif-4.1.4 ./configure make make install |
tar -xjvf ./ocrad-0.16.tar.bz2 cd ocrad-0.16 ./configure make make install |
tar -xvzf ./gifsicle-1.46.tar.gz cd gifsicle-1.46 ./configure make make install |
./configure --with-netpbm=/usr/lib/netpbm make make install |
tar -xzvf fuzzyocr-3.5.1-devel.tar.gz cd FuzzyOcr-3.5.1/ |
cp -r ./FuzzyOcr.cf ./FuzzyOcr.scansets
./FuzzyOcr.preps ./FuzzyOcr.pm ./FuzzyOcr /etc/mail/spamassassin cp ./FuzzyOcr.words /etc/mail/spamassassin |
- Make sure that you specify a writable file as a
logfile, The log level can be specified with the focr_verbose option. - Make sure that you specify a correct file as global wordlist. - Set the following and put in the correct paths for your system.. focr_enable_image_hashing 2
focr_db_hash <full_path_to_file> focr_db_safe <full_path_to_file> focr_db_max_days <number_of_days> focr_threshold 0.12 focr_base_score 2 focr_add_score 0.375 focr_wrongctype_score 0.7 focr_wrongext_score 0.7 focr_corrupt_score 1.5 focr_corrupt_unfixable_score 2.5 |