Re: How to detect inverted image in a picture

2011-03-16 Thread MARTIN Pierre
> Sorry, this is the link to the picture: > https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B1-BKwD5hqtZNWM3ZDM4NzYtOTgzNC00OTMyLWFkMmUtNGM3MzBhZGNjOTZm&hl=fr&authkey=CM2c-s0E i'd say, make an histogram of the image. If it tends to black, then apply for each filter a simple inve

Re: How to detect inverted image in a picture

2011-03-16 Thread Ice Head
Thanx for your answers, Sorry, this is the link to the picture: https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B1-BKwD5hqtZNWM3ZDM4NzYtOTgzNC00OTMyLWFkMmUtNGM3MzBhZGNjOTZm&hl=fr&authkey=CM2c-s0E On Mar 16, 10:30 am, "Sriranga(78yrsold)" wrote: > IceHead, > unable to view imag

Re: How to detect inverted image in a picture

2011-03-16 Thread Sriranga(78yrsold)
IceHead, unable to view images in link( https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B1.) On Wed, Mar 16, 2011 at 1:27 PM, Ice Head wrote: > After several try, I found a resolution by changing parameter > "edges_maxedgelength" > Do you know what is the functionalty of this

Re: How to detect inverted image in a picture

2011-03-16 Thread Dmitry Silaev
This param controls the maximum allowed length of connected component's contour (blob outline in terms of Tesseract). I suspect, Tess decided that the dominant color of the text is white and hence it could not construct all blobs' outlines until you've raised the value "edges_maxedgelength" (since

Re: How to detect inverted image in a picture

2011-03-16 Thread Ice Head
After several try, I found a resolution by changing parameter "edges_maxedgelength" Do you know what is the functionalty of this parameter ? Thanx, Ice On Mar 9, 2:12 pm, Ice Head wrote: > Hi, > > I'm using tesseract 3.01 and failed to read simple images like this > one (see link below) > > htt