Search found 22 matches

by miguellint
2016-04-04T19:57:00-07:00
Forum: Users
Topic: OCR a scan of a faded microfiche
Replies: 4
Views: 6278

Re: OCR a scan of a faded microfiche

Here's a bash step-by-step that improves the OCR strike rate considerably. (And here's a Dropbox link to a Before/After image so just X any popups asking you to register.) Before and After http://tinyurl.com/hl4qx5k # Despeckle for f in *.png do file=`convert $f -format "%f" info:` convert $file ...
by miguellint
2016-04-03T00:30:33-07:00
Forum: Users
Topic: OCR a scan of a faded microfiche
Replies: 4
Views: 6278

Re: OCR a scan of a faded microfiche

Hello Snibgo... Here's one I made earlier :-) This is what a scanned fiche with a 100% OCR strike rate looks like... http://tinyurl.com/zc6culq The original scanned image is of such a reasonable quality that all I need do is deskew and crop the image then make it a bit more "solid" using the ...
by miguellint
2016-04-02T23:01:27-07:00
Forum: Users
Topic: OCR a scan of a faded microfiche
Replies: 4
Views: 6278

OCR a scan of a faded microfiche

Hello... Would anyone have any suggestions for bringing an image up to OCR level. The original image is a scan of an extremely faded microfiche. Here is a snippet of the image. It's a Dropbox link so just X the pop-up asking you to join. http://tinyurl.com/zdy5p4r I had to do a colour capture as the ...
by miguellint
2016-03-01T21:11:43-07:00
Forum: Users
Topic: Equation for deskew?
Replies: 3
Views: 5451

Re: Equation for deskew?

What a superb answer.

Thanks very much :-)

Now I just need to sort out a script.

Thanks again
Miguel
by miguellint
2016-03-01T03:19:41-07:00
Forum: Users
Topic: Equation for deskew?
Replies: 3
Views: 5451

Equation for deskew?

Hello... I have a line starting at an (x,y) coordinate and finishing at another (x,y) coordinate. I want the line to be horizontal so I use the -deskew option. The (x,y) coordinates at the start and end of the now horizontal line are slightly different to the original (x,y) coordinates. My question ...
by miguellint
2016-01-25T20:37:32-07:00
Forum: Users
Topic: Image database of scanned letters.
Replies: 3
Views: 3386

Re: Image database of scanned letters.

Hello Snigbo... Thanks for replying :-) It's not so much about OCR'ing the images. It's more about making the images look "nice" (for want of a better word). And learning more about IM - specifically looping a copy/paste region by region, IM and databases, and comparing images pixel by pixel. I'm ...
by miguellint
2016-01-25T19:59:09-07:00
Forum: Users
Topic: Image database of scanned letters.
Replies: 3
Views: 3386

Image database of scanned letters.

Hello... I'm not sure who to ask (and I'm not even sure this is a thing) but I'd appreciate any thoughts :-) --- I have several dozen scanned images of old and faded microfiche. The microfiche hold lists of names and places. Here is an example of the letter E. As can be seen there are five distinct ...
by miguellint
2015-11-30T17:42:33-07:00
Forum: Users
Topic: Vertical slices - Array and loop?
Replies: 11
Views: 8154

Re: Vertical slices - Array and loop?

Thanks Fred and Bonzo.

Managed to make sense of it all now :-)

All the best
Miguel
by miguellint
2015-11-28T13:42:02-07:00
Forum: Users
Topic: Vertical slices - Array and loop?
Replies: 11
Views: 8154

Re: Vertical slices - Array and loop?

Hello Fred... Thanks for the examples. Less confused than before but still two questions. 1) I'm guessing that repeating the crop command is a typo as the examples only work when I delete one of the crops... -clone 0 -crop -crop and img -crop -crop 2) I still can't figure out how to incorporate the ...
by miguellint
2015-11-26T20:06:29-07:00
Forum: Users
Topic: Vertical slices - Array and loop?
Replies: 11
Views: 8154

Re: Vertical slices - Array and loop?

One thing I noticed is you read the original file in for every crop. Hello Bonzo... Thanks for the advice but I'm having a fundamental "not understanding what's going on" session. I understand using the image-in-memory instead of loading the image each time but all I can come up with is throwing ...
by miguellint
2015-11-25T02:39:14-07:00
Forum: Users
Topic: Vertical slices - Array and loop?
Replies: 11
Views: 8154

Re: Vertical slices - Array and loop?

Thanks for the replies :-) I've ended up with the following bash script using the crop command, two loops and two arrays. It seems to work. Apologies for the overuse of comments and overlong variable names. Still a noob. # Draw a striped rectangle convert -size 100x100 xc: -fill red -draw "rectangle ...
by miguellint
2015-11-24T02:44:37-07:00
Forum: Users
Topic: Vertical slices - Array and loop?
Replies: 11
Views: 8154

Vertical slices - Array and loop?

Hello... I have an image 100x100 pixels. I am slicing the image into four vertical slices of varying widths. I want the first slice to be 10 pixels wide, the second slice to be 20 pixels wide, the third slice to be 30 pixels wide and the fourth slice to be 40 pixels wide. The height is a constant ...
by miguellint
2015-11-07T21:51:00-07:00
Forum: Users
Topic: Using -lat with mogify
Replies: 3
Views: 3875

Re: Using -lat with mogify

Hello Fred...

Thanks for that.

So I'll just use my trusty for loop.

All the best
Miguel
by miguellint
2015-11-07T21:18:48-07:00
Forum: Users
Topic: Using -lat with mogify
Replies: 3
Views: 3875

Using -lat with mogify

Hello... Can I use -lat with mogrify? When I tried the following command... mogrify -lat 10x10+2% *.png ... I got the following error message mogrify: unrecognized option `-lat' @ error/mogrify.c/MogrifyImageCommand/5263 --- The following convert command works fine... convert in_001.png -lat 10x10+2 ...
by miguellint
2015-10-28T14:03:47-07:00
Forum: Users
Topic: Read loop variables from text files
Replies: 4
Views: 3558

Re: Read loop variables from text files

Thanks Fred. I'll keep on piping then :-)

All the best
Miguel