Ok, then my method is adaptive. It has a few controls that I should tweak a 
bit. Or maybe I am expecting too much, and these images are just not good 
enough.

Here is the config. As you say, maybe I need to get the development version 
of opencv.
$ pkg-config opencv --libs
-lopencv_calib3d -lopencv_imgproc -lopencv_contrib -lopencv_legacy

On Tuesday, October 28, 2014 1:49:57 AM UTC-4, rkomar wrote:
>
> On Mon, 27 Oct 2014, Rick Leir wrote: 
>
> > Hi Rob 
> > My preprocessing is mentioned in this post: 
> > https://groups.google.com/forum/#!topic/tesseract-ocr/jON 
> > GSChLRv4 
> > 
> > Maybe you would call it adaptive? 
>
> Adaptive means that the threshold for choosing between 
> black and white changes over different parts of the image. 
> Generally, the background is studied in each area to 
> see what the threshold should be. 
>
> > Thanks for mentioning Wolf. I tried to compile the latest 
> > version but my 14.04 config must be wrong and I get: 
> > 
> >  ~/ocr/wolf/binarizewolfjolion-src$ 
> > PKG_CONFIG_PATH=/usr/lib/pkgconfig/ make 
> > g++ -I/usr/include/opencv binarizewolfjolion.cpp -o 
> > binarizewolfjolion `pkg-config opencv --libs`-lstdc++ 
> > /usr/bin/ld: /tmp/ccwdIqAh.o: undefined reference to 
> > symbol '_ZN2cv11_InputArrayC1ERKNS_3MatE' 
> > //usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4: error 
> > adding symbols: DSO missing from command line 
>
> Perhaps you need the development version of opencv 
> to compile the code.  What do you see when you run 
> "pkg-config opencv --libs" in a terminal?  It should 
> point to a library file that you can link to. 
> Unfortunately, I can't test the build myself in my 
> Ubuntu OS because I use a custom version of ruby, 
> and the binarize scripts are hard-coded to /usr/bin/ruby. 
>
> Rob 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/c4da9310-29e7-44d2-a2ca-9f50df7dd69d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to