What steps will reproduce the problem?
1. Trying to compile tesseract 3.00 revision 344 with Visual Studio and liblept
2.
3.
What is the expected output? What do you see instead?
A good compilation. Some errors.
What version of the product are you using? On what operating system?
tesseract 3.00 revision 344. Windows XP.
Please provide any additional information below.
Line 720 of baseapi.cpp
in method
static bool IsParagraphBreak(TBOX bbox_cur, TBOX bbox_prev,
int right, int line_height)
The code has:
if (fabs((bbox_cur.left() - bbox_prev.left()) -
(bbox_prev.right() - bbox_cur.right()) < line_height))
Should that not be like the previous lines:
if (fabs((bbox_cur.left() - bbox_prev.left()) -
(bbox_prev.right() - bbox_cur.right())) < line_height)
(Found the typo due to visual studio having overloaded fabs methods. )
In tesseractmain.cpp
in the main method, #ifdef HAVE_LIBLEPT
if (is_tiff) {
Line 219: PIX* pix;
The Else of that statement should also be closed.
line 262: }
Original issue reported on code.google.com by zek...@gmail.com on 20 May 2010 at 10:06
Original issue reported on code.google.com by
zek...@gmail.com
on 20 May 2010 at 10:06