Tesseract 2.03 is out!

165 views
Skip to first unread message

Ray Smith

unread,
Apr 22, 2008, 2:13:10 PM4/22/08
to tesser...@googlegroups.com
After a long wait for 2.02, 2.03 is out already! (Source only so far. It will read all old data files, so you can use them until the new ones get uploaded.)
2.02 does not run. 2.03 fixes the problem.

The web interface for updating the wiki pages is unavailable right now, so they are not updated yet. If it doesn't become available soon, I will have a go at updating them via svn.
Ray.

Jeffrey Ratcliffe

unread,
Apr 22, 2008, 3:19:38 PM4/22/08
to tesser...@googlegroups.com
On 22/04/2008, Ray Smith <thera...@gmail.com> wrote:
> After a long wait for 2.02, 2.03 is out already! (Source only so far. It
> will read all old data files, so you can use them until the new ones get
> uploaded.)
> 2.02 does not run. 2.03 fixes the problem.

I'm getting:

Making install in java
make[2]: Entering directory `/home/jeff/sandbox/tesseract-2.03/java'
make[2]: *** No rule to make target `install'. Stop.
make[2]: Leaving directory `/home/jeff/sandbox/tesseract-2.03/java'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/jeff/sandbox/tesseract-2.03'
make: *** [install] Error 2

under Ubuntu Hardy. I assume that this is for the viewer, which I
don't need anyway. Is there a simple way of turning off this part of
the build?

Regards

Jeff

Ray Smith

unread,
Apr 22, 2008, 4:32:46 PM4/22/08
to tesser...@googlegroups.com
Hi Jeff,

Try adding the word install on line 43 of java/makefile (note the lower-case m), where there is currently all all-am.

Let me know if that fixes it, as I have my own different problems testing make install.
Thanks,
Ray.

Jeffrey Ratcliffe

unread,
Apr 23, 2008, 4:06:26 PM4/23/08
to tesser...@googlegroups.com
Hi Ray,

On 22/04/2008, Ray Smith <thera...@gmail.com> wrote:
> Try adding the word install on line 43 of java/makefile (note the lower-case
> m), where there is currently all all-am.
>
> Let me know if that fixes it, as I have my own different problems testing
> make install.

Thanks for that. I can now build it OK.

I also had to add a distclean target to the java makefile:

distclean : clean
rm -f Makefile

Regards

Jeff

nguyenq

unread,
May 6, 2008, 1:28:57 AM5/6/08
to tesseract-ocr
Hi Ray,

The new Tesseract 2.03 crashes quite frequently with Vietnamese
language data 2.01. What should I do? Do you have any suggestions?
Tks.

Regards,
Quan

Call stack for the unhandled win32 exception occurred in tesseract:
> tesseract.exe!004513e7()
[Frames below may be incorrect and/or missing, no symbols loaded for
tesseract.exe]
tesseract.exe!00451c3b()
tesseract.exe!004525e1()
tesseract.exe!004529b3()
tesseract.exe!0045277b()
tesseract.exe!004529b3()
tesseract.exe!0045277b()
tesseract.exe!004529b3()
tesseract.exe!00452bd6()
tesseract.exe!0044fe5e()
tesseract.exe!00453ee0()
tesseract.exe!00453fdb()
ntdll.dll!7c910732()
ntdll.dll!7c910732()
ntdll.dll!7c9106ab()
ntdll.dll!7c9106eb()
ntdll.dll!7c910732()
ntdll.dll!7c9106ab()
ntdll.dll!7c9106ab()
ntdll.dll!7c9106eb()
ntdll.dll!7c9106ab()
ntdll.dll!7c9106eb()
ntdll.dll!7c910732()
ntdll.dll!7c910732()
ntdll.dll!7c9106ab()
ntdll.dll!7c9106eb()
ntdll.dll!7c910732()
ntdll.dll!7c910732()
ntdll.dll!7c9106ab()
ntdll.dll!7c9106eb()
ntdll.dll!7c9106ab()
ntdll.dll!7c910732()
ntdll.dll!7c910732()
ntdll.dll!7c910732()
ntdll.dll!7c910732()
ntdll.dll!7c9106ab()
ntdll.dll!7c9106eb()
ntdll.dll!7c910732()
ntdll.dll!7c9106eb()
ntdll.dll!7c910732()
ntdll.dll!7c9105c8()
ntdll.dll!7c910551()
ntdll.dll!7c91056d()
ntdll.dll!7c9105c8()
ntdll.dll!7c910551()
ntdll.dll!7c91056d()
ntdll.dll!7c9105c8()
ntdll.dll!7c9105c8()
ntdll.dll!7c910551()
ntdll.dll!7c91056d()
ntdll.dll!7c9105c8()
ntdll.dll!7c9105c8()
ntdll.dll!7c9105c8()
ntdll.dll!7c910551()
ntdll.dll!7c91056d()
msvcr80.dll!78134d83()
msvcr80.dll!78160e30()
ntdll.dll!7c9106eb()
msvcr80.dll!78134d83()
msvcr80.dll!78160e30()
msvcr80.dll!78134c58()
tesseract.exe!0044fb21()
tesseract.exe!00450af7()
tesseract.exe!00450b47()
tesseract.exe!00450d70()
tesseract.exe!00454c23()
tesseract.exe!00455adc()
tesseract.exe!00455bb0()
tesseract.exe!00486a90()
tesseract.exe!0044fd72()
tesseract.exe!0048c15d()
tesseract.exe!00424158()
tesseract.exe!0048e7c6()
tesseract.exe!00424a9e()
tesseract.exe!0048e836()
tesseract.exe!00422fb1()
tesseract.exe!0040d0c1()
ntdll.dll!7c910732()
ntdll.dll!7c910732()
ntdll.dll!7c9106ab()
ntdll.dll!7c9105c8()
ntdll.dll!7c910732()
ntdll.dll!7c912270()
ntdll.dll!7c911596()
ntdll.dll!7c9106eb()
ntdll.dll!7c910732()
ntdll.dll!7c9105c8()
ntdll.dll!7c910732()
ntdll.dll!7c9106ab()
ntdll.dll!7c910732()
ntdll.dll!7c9106eb()
ntdll.dll!7c910e91()
ntdll.dll!7c9105c8()
ntdll.dll!7c91056d()
ntdll.dll!7c9106eb()
msvcr80.dll!78134d83()
msvcr80.dll!78136d63()
msvcr80.dll!78136d6c()
ntdll.dll!7c90e027()
ntdll.dll!7c91392e()
msvcr80.dll!78132bc6()
msvcr80.dll!78138b51()
msvcr80.dll!781323ff()
msvcr80.dll!78131731()
msvcr80.dll!78138c3d()
msvcr80.dll!78138c37()
msvcr80.dll!78132bd9()
msvcr80.dll!78138c37()
tesseract.exe!0048c4a0()
tesseract.exe!0048c50f()
tesseract.exe!00430d1c()
tesseract.exe!0040e2fa()
tesseract.exe!00406ec4()
tesseract.exe!0048d2fb()
tesseract.exe!00407701()
tesseract.exe!004237ed()
msvcr80.dll!7814e901()
tesseract.exe!00459a88()
tesseract.exe!00423be0()
tesseract.exe!00423d96()
msvcr80.dll!78132e24()
msvcr80.dll!78132e2f()
msvcr80.dll!78137021()
tesseract.exe!0048c8cd()
kernel32.dll!7c816fd7()

Ray Smith

unread,
May 8, 2008, 10:03:36 PM5/8/08
to tesser...@googlegroups.com
Can you post a stack frame from the debug version, so I can see where it is failing?
Ray.

nguyenq

unread,
May 9, 2008, 1:25:54 AM5/9/08
to tesseract-ocr
Microsoft Visual C++ Debug Library dialog:

Debug Assertion Failed!
File: isctype.c
Line: 56

Expresssion: (unsigned)(c + 1) <= 256

Call Stack:

> msvcr80d.dll!_chvalidator(int c=-60, int mask=259) Line 56 + 0x2a bytes C++
msvcr80d.dll!isalpha(int c=-60) Line 69 + 0xe bytes C++
tesseract.exe!def_letter_is_okay(unsigned __int64 * dawg=0x00fc6e18,
__int64 * node=0x0012d9f8, int char_index=1, char prevchar=0, const
char * word=0x0012e174, int word_end=0) Line 150 + 0x42 bytes C++
tesseract.exe!append_next_choice(unsigned __int64 * dawg=0x00fc6e18,
__int64 node=0, char permuter=' ', char * word=0x0012e174, char *
unichar_lengths=0x0012e140, int * unichar_offsets=0x0012e094,
array_record * choices=0x01668c28, int char_index=1, choicestruct *
this_choice=0x0169cf80, const char * prevchar=0x006fb262, float *
limit=0x0012df30, float rating=9.5660038, float certainty=-1.0996230,
float * rating_array=0x0012df3c, float * certainty_array=0x0012dfe8,
int word_ending=0, int last_word=1, list_rec * * result=0x0012db40)
Line 211 + 0x69 bytes C++
tesseract.exe!dawg_permute(unsigned __int64 * dawg=0x00fc6e18,
__int64 node=0, char permuter=' ', array_record * choices=0x01668c28,
int char_index=1, float * limit=0x0012df30, char * word=0x0012e174,
char * unichar_lengths=0x0012e140, int * unichar_offsets=0x0012e094,
float rating=3.2981527, float certainty=-0.99944019, float *
rating_array=0x0012df3c, float * certainty_array=0x0012dfe8, int
last_word=1) Line 301 + 0x95 bytes C++
tesseract.exe!append_next_choice(unsigned __int64 * dawg=0x00fc6e18,
__int64 node=0, char permuter=' ', char * word=0x0012e174, char *
unichar_lengths=0x0012e140, int * unichar_offsets=0x0012e094,
array_record * choices=0x01668c28, int char_index=0, choicestruct *
this_choice=0x016b15e0, const char * prevchar=0x006fb262, float *
limit=0x0012df30, float rating=3.2981527, float certainty=-0.99944019,
float * rating_array=0x0012df3c, float * certainty_array=0x0012dfe8,
int word_ending=0, int last_word=1, list_rec * * result=0x0012dde8)
Line 233 + 0x4a bytes C++
tesseract.exe!dawg_permute(unsigned __int64 * dawg=0x00fc6e18,
__int64 node=0, char permuter=' ', array_record * choices=0x01668c28,
int char_index=0, float * limit=0x0012df30, char * word=0x0012e174,
char * unichar_lengths=0x0012e140, int * unichar_offsets=0x0012e094,
float rating=0.00000000, float certainty=0.00000000, float *
rating_array=0x0012df3c, float * certainty_array=0x0012dfe8, int
last_word=1) Line 301 + 0x95 bytes C++
tesseract.exe!dawg_permute_and_select(const char *
string=0x0070ad00, unsigned __int64 * dawg=0x00fc6e18, char
permuter=' ', array_record * character_choices=0x01668c28,
choicestruct * best_choice=0x016c84a0, short system_words=1) Line 361
+ 0x62 bytes C++
tesseract.exe!permute_words(array_record * char_choices=0x01668c28,
float rating_limit=1000.0000) Line 1673 + 0x1d bytes C++
tesseract.exe!permute_all(array_record * char_choices=0x01668c28,
float rating_limit=1000.0000, choicestruct * raw_choice=0x0012ec94)
Line 1081 + 0x10 bytes C++
tesseract.exe!permute_characters(array_record *
char_choices=0x01668c28, float limit=1000.0000, choicestruct *
best_choice=0x0012ecb4, choicestruct * raw_choice=0x0012ec94) Line
1133 + 0x14 bytes C++
tesseract.exe!chop_word_main(wordstruct * word=0x0168c6a8, int fx=1,
choicestruct * best_choice=0x0012ecb4, choicestruct *
raw_choice=0x0012ec94, unsigned char tester=0, unsigned char
trainer=0) Line 443 + 0x18 bytes C++
tesseract.exe!cc_recog(wordstruct * tessword=0x0168c6a8,
choicestruct * best_choice=0x0012ecb4, choicestruct *
best_raw_choice=0x0012ec94, unsigned char tester=0, unsigned char
trainer=0) Line 252 + 0x1d bytes C++
tesseract.exe!recog_word_recursive(WERD * word=0x0169f5c0, DENORM *
denorm=0x01008038, void (PBLOB *, PBLOB *, PBLOB *, WERD *, DENORM *,
BLOB_CHOICE_LIST &)* matcher=0x004fb5b0, void (PBLOB *, DENORM *,
unsigned char, char *, int, BLOB_CHOICE_LIST *)* tester=0x00000000,
void (PBLOB *, DENORM *, unsigned char, char *, int, BLOB_CHOICE_LIST
*)* trainer=0x00000000, unsigned char testing=0, WERD_CHOICE * &
raw_choice=0x00000000, BLOB_CHOICE_LIST_CLIST *
blob_choices=0x0012f518, WERD * & outword=0x00000000) Line 174 + 0x61
bytes C++
tesseract.exe!recog_word(WERD * word=0x0169f5c0, DENORM *
denorm=0x01008038, void (PBLOB *, PBLOB *, PBLOB *, WERD *, DENORM *,
BLOB_CHOICE_LIST &)* matcher=0x004fb5b0, void (PBLOB *, DENORM *,
unsigned char, char *, int, BLOB_CHOICE_LIST *)* tester=0x00000000,
void (PBLOB *, DENORM *, unsigned char, char *, int, BLOB_CHOICE_LIST
*)* trainer=0x00000000, unsigned char testing=0, WERD_CHOICE * &
raw_choice=0x00000000, BLOB_CHOICE_LIST_CLIST *
blob_choices=0x0012f518, WERD * & outword=0x00000000) Line 81 + 0x29
bytes C++
tesseract.exe!tess_segment_pass1(WERD * word=0x0169f5c0, DENORM *
denorm=0x01008038, void (PBLOB *, PBLOB *, PBLOB *, WERD *, DENORM *,
BLOB_CHOICE_LIST &)* matcher=0x004fb5b0, WERD_CHOICE * &
raw_choice=0x00000000, BLOB_CHOICE_LIST_CLIST *
blob_choices=0x0012f518, WERD * & outword=0x00000000) Line 57 + 0x23
bytes C++
tesseract.exe!classify_word_pass1(WERD_RES * word=0x01008028, ROW *
row=0x00fc3f80, unsigned char cluster_adapt=0, CHAR_SAMPLES_LIST *
char_clusters=0x00000000, CHAR_SAMPLE_LIST *
chars_waiting=0x00000000) Line 622 + 0x27 bytes C++
tesseract.exe!recog_all_words(PAGE_RES * page_res=0x00fb9780,
volatile ETEXT_STRUCT * monitor=0x00000000, TBOX *
target_word_box=0x00000000, short dopasses=0) Line 310 + 0x24 bytes C+
+
tesseract.exe!TessBaseAPI::Recognize(BLOCK_LIST *
block_list=0x0012f978, ETEXT_STRUCT * monitor=0x00000000) Line 478 +
0x11 bytes C++
tesseract.exe!TessBaseAPI::RecognizeToString() Line 453 + 0xb bytes
C++
tesseract.exe!TessBaseAPI::TesseractRect(const unsigned char *
imagedata=0x01800040, int bytes_per_pixel=0, int bytes_per_line=319,
int left=0, int top=0, int width=2550, int height=3300) Line 153 C++
tesseract.exe!TesseractImage(const char * input_file=0x003cf170,
IMAGE * image=0x0012fd20, STRING * text_out=0x0012fd14) Line 100 +
0x3d bytes C++
tesseract.exe!main(int argc=5, char * * argv=0x003cf1b8) Line 227 +
0x17 bytes C++
tesseract.exe!WinMain(HINSTANCE__ * hInstance=0x00400000,
HINSTANCE__ * hPrevInstance=0x00000000, char * lpszCmdLine=0x0015231a,
int nCmdShow=10) Line 356 + 0x10 bytes C++
tesseract.exe!__tmainCRTStartup() Line 589 + 0x35 bytes C
tesseract.exe!WinMainCRTStartup() Line 414 C
kernel32.dll!7c817067()
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]
tesseract.exe!re_estimate_x_ht(WERD_RES * word_res=0x0022003d, float
* trial_x_ht=0x002e0031) Line 397 + 0x4e bytes C++
tesseract.exe!`dynamic initializer for 'NULL_OBJECT''() Line 33 +
0x2f bytes C++
tesseract.exe!`dynamic initializer for 'NULL_OBJECT''() Line 33 +
0x2f bytes C++
tesseract.exe!`dynamic initializer for 'NULL_OBJECT''() Line 33 +
0x2f bytes C++
tesseract.exe!std::_Tree<std::_Tmap_traits<int,ScrollView
*,std::less<int>,std::allocator<std::pair<int const ,ScrollView *> >,
0> >::iterator::iterator(const
std::_Tree<std::_Tmap_traits<int,ScrollView
*,std::less<int>,std::allocator<std::pair<int const ,ScrollView *> >,
0> >::iterator & __that=(...,...) + 0x42 bytes C++


On May 8, 9:03 pm, "Ray Smith" <theraysm...@gmail.com> wrote:
> Can you post a stack frame from the debug version, so I can see where it is
> failing?
> Ray.
>
Reply all
Reply to author
Forward
0 new messages