Skip to content

Settings and activity

6 results found

  1. 89 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    planned  ·  11 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    mc23646266 supported this idea  · 
  2. 12 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    mc23646266 commented  · 

    # dirtiy coding ahead! be careful
    myBIN=~/My\ Applications/VelOCRaptor.app/Contents/SharedSupport/velocraptor.rb

    # convert to 300d3ddpi temorarilyo
    myFILE="${TMPDIR}$(basename "$1")"
    myWIDTH=$(sips -g pixelWidth "$1"| tail -1| cut -d: -f2)
    sips -s dpiWidth 300 -s dpiHeight 300 --resampleWidth $(($myWIDTH *300 /72)) "$1" --out "$myFILE"

    if [[ ${1##*.} != "pdf" ]]
    then
    "$myBIN" "$myFILE" "${1%.*}.pdf"
    fi

    "$myBIN" "$myFILE" "${1%.*}.txt"

    ## use this for tagging, if you like
    if [[ -r "$2" ]]
    then
    myCOMMENT=$( head -1 "$2"| tr '[:upper:]' '[:lower:]' )
    if [[ ${1#*.} != "pdf" ]]
    then
    openmeta -s $myCOMMENT -m Y -p "${1%.*}.pdf"
    fi
    openmeta -s $myCOMMENT -p "${1%.*}.txt"
    openmeta -s $myCOMMENT -p "$1"
    fi

    rm -f "$myFILE"

    An error occurred while saving the comment
    mc23646266 commented  · 

    are you using 10.6? if so, create a service(dienste) for ocr'ing screengrabs.
    i choose a shellscript for my solution, with 'sips' scaling the screenshots,
    to temporary 300dpi, reading once a pdf then reading a txt.
    the txt gives very varying results.
    some are excellent,
    some terrible.

  3. 98 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    planned  ·  5 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    mc23646266 commented  · 

    are you using 10.6? if so, create a service(dienste) for ocr'ing screengrabs.
    i choose a shellscript for my solution, with 'sips' scaling the screenshots,
    to temporary 300dpi, reading once a pdf then reading a txt.
    the txt gives very varying results.
    some are excellent,
    some terrible.

    mc23646266 supported this idea  · 
  4. 4 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    mc23646266 shared this idea  · 
  5. 32 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    4 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    mc23646266 supported this idea  · 
  6. 22 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    mc23646266 supported this idea  ·