JPEG photo scan of paper text - How to enhance?
Posted: 2013-07-09T08:36:56-07:00
Hello,
Like many people, sometimes I use a smartphone or a camera, to readily have a scan of document (and in pratice even if you have time you'll never properly scan it later) or because it's too big to fit in a scan.
does a pretty good job, but I believe it should be possible to automate futher compression and/or enhance of the source jpeg photo scan, to either jpeg or png.
The objective being
1/ "sharpen" the text and graphics (somethimes not all the text is well focused, for instance focus was on the bottom's text, but top is slightly blurred)
2/ compress
3/ have a rather uniform colour paper background (usually artificial source light is from one side of the paper and so has a darker area)
Often source document are grayscale, or with limited colours (for instance you used 3-4 pens to write on a draw board chart and want to keep a digital version of your work).
Thanks for your suggestions.
Like many people, sometimes I use a smartphone or a camera, to readily have a scan of document (and in pratice even if you have time you'll never properly scan it later) or because it's too big to fit in a scan.
Code: Select all
convert -sharpen 2 -depth 8 photoOfNotes.jpg digitalizedNotes.jpg
The objective being
1/ "sharpen" the text and graphics (somethimes not all the text is well focused, for instance focus was on the bottom's text, but top is slightly blurred)
2/ compress
3/ have a rather uniform colour paper background (usually artificial source light is from one side of the paper and so has a darker area)
Often source document are grayscale, or with limited colours (for instance you used 3-4 pens to write on a draw board chart and want to keep a digital version of your work).
Thanks for your suggestions.