View Single Post
Old 06-29-2014, 09:17 AM   #827
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by tigerjack89 View Post
I tried to open the file with different readers, but I can't see this grey line on the PDF. Am I going blind or am I missing something?
The line is at the very right edge of the page, so it is difficult to see. I had to really zoom in with my reader to convince myself.

Quote:
Originally Posted by tigerjack89 View Post
How can I see the dpi of the images?
I zoomed in to a very high magnification and manually did an approximate pixel count over a small region. But it's not that important to know. You can just try a few different values for -odpi and you should be able to tell when the output quality stops improving.

Quote:
Originally Posted by tigerjack89 View Post
Also, I have a scanned PDF with some underlines and some gray stains. What I obtained from the conversion is something like the attached image (and this is yet a great result btw ).
There is some way to have better results?
You might try adjusting the white threshold value (-wt option -- see the list of command line options). Start with -wt 175 and if that doesn't work, try lowering that value. As you lower the value, the processing should become more tolerant to the gray stains, but it also might have trouble picking up the actual text and other features if you go too low. You could also try a different contrast value (-cmax option).
willus is offline   Reply With Quote