Search found 11 matches

by wrumble
2017-10-23T12:51:29-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

Re: textdeskew regression_Arr: bad array subscript

This is great, thank you so much for all your help
by wrumble
2017-10-23T11:48:22-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

Re: textdeskew regression_Arr: bad array subscript

Amazing so installed gawk and bc on the docker image and both unrotate and textdeskew run on the image but give the results you have seen already. Here is a link to the file via dropbox https://www.dropbox.com/s/ef4xnr97pwyd1d2/rotate.png?dl=0 . i wonder if its worth it as im sure much better ...
by wrumble
2017-10-23T03:27:18-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

Re: textdeskew regression_Arr: bad array subscript

So i installed IM at work and managed to get an error free response from textdeskew, but it rotated 89.7679 degrees like yours did. I got a slightly better response with unrotate which rotated 6.34 degrees but actually made it worse, haha. See https://imgur.com/aabtztD . But kept getting the ...
by wrumble
2017-10-22T15:21:56-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

Re: textdeskew regression_Arr: bad array subscript

Yea so i found that and did the same but the install is without fftw, will try again though. Running convert -version on my docker image gives: Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC ...
by wrumble
2017-10-22T14:58:21-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

Re: textdeskew regression_Arr: bad array subscript

I just ran `brew install imagemagick --with-fftw` on my mac to update and i get Version: ImageMagick 7.0.7-8 Q16 x86_64 2017-10-22 http://www.imagemagick.org Copyright: © 1999-2017 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC HDRI Delegates ...
by wrumble
2017-10-22T14:43:17-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

Re: textdeskew regression_Arr: bad array subscript

On my docker image the version is Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr ...
by wrumble
2017-10-22T14:18:19-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

Re: textdeskew regression_Arr: bad array subscript

Right, im currently struggling to get this install from source working on docker but will keep trying. The IM versions i have shown you have always been from the docker image as thats where ill be using it.
by wrumble
2017-10-22T14:00:05-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

Re: textdeskew regression_Arr: bad array subscript

I dont know why im getting an older version as with docker im running RUN apt-get update && apt-get install -y \ build-essential \ ruby-full \ fftw-dev \ libgs-dev \ libffi-dev \ libgmp3-dev \ ruby-dev \ imagemagick I wonder if its just a bad image, although the textcleaner script worked on it for ...
by wrumble
2017-10-22T13:34:54-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

Re: textdeskew regression_Arr: bad array subscript

ok right i will always be using this script on receipt images is there a better way to setup the textcleaner and textdeskew for this? my version is Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC ...
by wrumble
2017-10-22T12:37:27-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

Re: textdeskew regression_Arr: bad array subscript

Hi, i have uploaded the image https://imgur.com/JKxDCP3 not sure if it gets processed or not though? I run the script on default without any variables like so `textdeskew #{imageFile.path} #{imageFile.path}` I have your textcleaner script in the same docker image/ruby app and that runs fine. My ...
by wrumble
2017-10-22T06:07:07-07:00
Forum: Fred's Scripts
Topic: textdeskew regression_Arr: bad array subscript
Replies: 26
Views: 235899

textdeskew regression_Arr: bad array subscript

I get the following error when using the textdeskew script: awk: line 38: syntax error at or near * /home/work/textdeskew: line 468: regression_Arr: bad array subscript /home/work/textdeskew: line 474: regression_Arr: bad array subscript I havent done anything to change it but i am using it on a ...