Is anyone currently using TextImageSegByLeptonica or any
ITextImageClassification interfaces? I've been unable to get any
working using a recent snapshot of trunk. First I tried the standard
install as documented on the install transcript page. Which yeilded
something along the lines of 'component doesn't exist', which I
assumed was because I the standard install doesn't include Leptonica
anymore. Thus I tried the the following, and ended up with the
subsequent error. Greatly appreciate any pointers.

Also, I noticed that the method 'textImageProbabilities' returns an
'intarray', this can't be saved using 'write_png', what is the best
way to visulise the results? And in addition, remove image regions? Is
there a sister method? More generally, I've got a binary image region
on my documents which I'm trying to remove. I assume this is the
correct approach. Cheers Nathan

Command:
scons lept=1

Produces:

g++ -o ocr-layout/ocr-layout-rast.os -c
-DDATADIR='"/usr/local/share/ocropus"'
-DDEFAULT_DATA_DIR='"/usr/local/share/ocropus/models"'
-DDEFAULT_EXT_DIR='"/usr/local/share/ocropus/extensions"' -g -fPIC -O2
-Wall -Wno-sign-compare -Wno-write-strings -Wno-unknown-pragmas
-D__warn_unused_result__=__far__ -D_BACKWARD_BACKWARD_WARNING_H=1
-fopenmp -fPIC -DHAVE_LEPTONICA -DHAVE_SQLITE3 -Iocr-lineseg
-Iocr-commands -Iocr-leptonica -Iocr-binarize -Iocr-pfst -Iocr-utils
-Iocr-line -Iocr-layout -Iocr-voronoi -I/usr/local/include
-I/usr/local/include -I/usr/include/leptonica
-I/usr/local/include/leptonica -I/usr/local/include/leptonica
ocr-layout/ocr-layout-rast.cc
In file included from ocr-layout/ocr-layout-internal.h:60,
                 from ocr-layout/ocr-layout-rast.cc:28:
ocr-layout/ocr-text-image-seg.h:77: error: no unique final overrider
for 'virtual const char* iulib::IComponent::interface()' in
'ocropus::RemoveImageRegions'
scons: *** [ocr-layout/ocr-layout-rast.os] Error 1
scons: building terminated because of errors.


-- 
Email: nathank [at] noshly.com (professional)
Email: its [at] madteckhead.com (personal)
Website: http://www.madteckhead.com

--------------------------------------------
Q: Why is this email five sentences or less?
A: http://five.sentenc.es

This email (including any attachments) is confidential and may be
privileged. If you have received it in error, please notify the sender
by return email and delete this message from your system. Any
unauthorised use or dissemination of this message in whole or in part
is strictly prohibited. Please note that emails are susceptible to
change and we will not be liable for the improper or incomplete
transmission of the information contained in this communication nor
for any delay in its receipt or damage to your system. We do not
guarantee that the integrity of this communication has been maintained
nor that this communication is free of viruses, interceptions or
interference.

-- 
You received this message because you are subscribed to the Google Groups 
"ocropus" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/ocropus?hl=en.

Reply via email to