Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 22. október 2026

Rozdiely pre scripts/shell/sms/sms.markiza.sk/aocr.sh medzi verziami 1.2 a 1.3

verzia 1.2, 2002/09/10 23:24:11 verzia 1.3, 2002/09/11 10:03:49
Riadok 36  if [ "X$1" = "X" ]; then
Riadok 36  if [ "X$1" = "X" ]; then
 fi  fi
   
 #  #
   # `convert' binary test
   #
   
   CONVERT=`which convert`;
   if [ "X$CONVERT" = "X" ]; then
           echo "Sorry, 'convert' binary not found, aocr.sh cannot run.";
           exit;
   fi
   
   #
 # Input parameters parsing  # Input parameters parsing
 #  #
   
 PICTURE="$1";  PICTURE="$1";
 DEBUG="0";  DEBUG="0";
 VERBOSE="0";  VERBOSE="0";
 if [ "X$2" == "X-d" ]; then DEBUG="1";   fi  if [ "X$2" = "X-d" ]; then DEBUG="1";   fi
 if [ "X$2" == "X-v" ]; then VERBOSE="1"; fi  if [ "X$2" = "X-v" ]; then VERBOSE="1"; fi
   
 #  #
 # Color tables  # Color tables
Riadok 58  FA9='2,6,6,3,3,5,8,6'
Riadok 68  FA9='2,6,6,3,3,5,8,6'
 # Frequency color analyse  # Frequency color analyse
 #  #
   
 FACLR=$(  convert ${PICTURE}  txt:- |\  FACLR=$( "${CONVERT}" "${PICTURE}" txt:- |\
         cut -d'#' -f2   |\          cut -d'#' -f2   |\
         sort                    |\          sort                    |\
         uniq -c                 |\          uniq -c                 |\
Riadok 77  fi
Riadok 87  fi
 # Frequency font analyse  # Frequency font analyse
 #  #
   
 FAFNT=$(  convert "${PICTURE}"  txt:- |\  FAFNT=$( "${CONVERT}" "${PICTURE}" txt:- |\
         egrep   "${FACLR}"      |\          egrep   "${FACLR}"      |\
         cut -d: -f1                     |\          cut -d: -f1                     |\
         cut -d, -f1                     |\          cut -d, -f1                     |\

Legend:
Odstranené z verzie1.2  
zmenené riadky
  Pridané vo verzii1.3

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok