Commit Graph

1540 Commits

Author SHA1 Message Date
Zdenko Podobný
32bbb95283 Merge branch 'master' of https://github.com/tesseract-ocr/tesseract 2016-03-15 14:24:15 +01:00
Zdenko Podobný
db9e194761 check for pdf support in leptonica 2016-03-15 14:22:24 +01:00
zdenop
fbc1501d14 Merge pull request #270 from edcarroll/master
Fix other instance of VS2015 compiler problem
2016-03-14 23:07:07 +01:00
Zdenko Podobný
ddd3cad8c6 update ChangeLog;
remove ReleaseNotes (a relevant information are in Changelog file and there is Release note wiki online)
2016-03-14 23:03:44 +01:00
Edward Carroll
4ecb6858ff Fix other instance of VS2015 compiler problem
As with 0c492cb, in VC14 snprintf function is provided in standard library there triggering error. "snprintf Do not define snprintf as a macro. Macro definition of snprintf conflicts with Standard Library function declaration"
2016-03-14 21:37:13 +00:00
Zdenko Podobný
2c675dcc77 Revert "fix comment about default PSM"
This reverts commit b46af6da31.
2016-03-10 09:42:01 +01:00
zdenop
b46af6da31 fix comment about default PSM 2016-03-09 19:19:45 +01:00
zdenop
b1c1382843 Merge pull request #259 from innir/abi-break-fix
Fix ABI break introduced in 3.04.00, fixes #254
2016-03-08 11:46:51 +01:00
Philip Rinn
7461b61743 Fix ABI break introduced in 3.04.00, fixes #254 2016-03-08 11:35:24 +01:00
zdenop
976433820c Merge pull request #255 from amitdo/no-banner
Don't display tesseract's banner when quiet mode is active
2016-03-08 08:28:24 +01:00
amitdo
bf5345f6a1 Don't display tesseract's banner when quiet mode is active 2016-03-07 19:25:09 +02:00
Zdenko Podobný
8796b5c914 update Release Notes (fixes #250) 2016-03-06 17:55:29 +01:00
Zdenko Podobný
b2262750eb solve segfault for box.train; fixes #57 2016-03-04 23:04:55 +01:00
Zdenko Podobný
ef26b312f9 improve tesseract.pc.in - fixes #241 2016-03-04 22:25:40 +01:00
zdenop
ff2ca31b9f Update INSTALL.GIT.md
fix leptonica link
2016-03-04 19:06:14 +01:00
Zdenko Podobný
8bfaf84007 move new&delete histogramAllChannels inside the #ifdef USE_OPENCL; fixes #248 2016-03-04 14:35:08 +01:00
Egor Pugin
4d4bfb552c Add inactivity timeout for icu download on windows 2016-03-04 12:34:01 +03:00
zdenop
d55f5fbcf4 Merge pull request #245 from tfmorris/result_renderer_tsv
Add TSV result renderer. Fixes #18
2016-03-03 09:16:27 +01:00
Tom Morris
fc80ceafb9 Fix hocrtsv references in Makefile 2016-03-02 10:46:52 -05:00
Tom Morris
6700edd8bc Cleanup TSV renderer
Remove all references to hocr, hocr.tsv, etc. Remove dead code for font
info, input filename, HTML escapes. Improved comments. Fixed
indentation.
2016-03-01 13:41:19 -05:00
Sundar M. Vaidya
858f4b75ce Avoids HTML escaping. 2016-03-01 12:30:39 -05:00
Sundar M. Vaidya
b1e4a82b0b Render output in TSV format. 2016-03-01 12:30:39 -05:00
Sundar M. Vaidya
738fe4f757 Adds BoolParam tessedit_create_hocrtsv in class Tesseract. 2016-03-01 12:30:39 -05:00
Sundar M. Vaidya
937ceb2d1b Adds hocrtsv to tessdata/configs/Makefile.am 2016-03-01 12:25:15 -05:00
Sundar M. Vaidya
3163b38151 Adds hocrtsv file to configs folder. 2016-03-01 12:23:12 -05:00
Sundar M. Vaidya
59d593d796 Calls TessHOcrTsvRenderer if tessedit_create_hocrtsv is true. 2016-03-01 12:23:12 -05:00
Sundar M. Vaidya
4d13892f5b Adds TessHOcrTsvRenderer class for rendering HOCR info in tsv format. 2016-03-01 12:13:42 -05:00
Sundar M. Vaidya
d04e3259af Adds char* GetHOCRTSVText(int) as placeholder. Copy of char* GetHOCRText(int). 2016-03-01 12:13:42 -05:00
zdenop
2597296b69 Merge pull request #228 from tfmorris/ltr-test-files
Add LTR & mixed direction test files
2016-02-29 15:03:48 +01:00
zdenop
c35a36cb83 Merge pull request #229 from amitdo/amitdo-readme-new-release
Update README.md
2016-02-18 08:48:00 +01:00
zdenop
b0aaade8ae Merge pull request #230 from stweil/master
Fix compiler warning (signed / unsigned mismatch)
2016-02-18 08:37:28 +01:00
Stefan Weil
8a04050df3 Fix compiler warning (signed / unsigned mismatch)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-02-18 07:38:37 +01:00
Amit Dovev
b26d328e33 Update README.md 2016-02-18 00:16:29 +02:00
Egor Pugin
f4366c1f5a Merge pull request #89 from ceisserer/master
Initialize output parameters of word_char_quality() to zero before early exit
2016-02-17 22:26:36 +03:00
zdenop
8c7d158977 Merge pull request #227 from tfmorris/hocr-both
hOCR improvements
2016-02-17 19:49:26 +01:00
Tom Morris
acdbcecd3c Add LTR & mixed direction test files 2016-02-17 11:40:31 -05:00
Tom Morris
6c44775d8a Emit fewer "lang" attributes
Add "lang" attribute to paragraph markup and only include
word lang attribute if it's different from the paragraph's value.
2016-02-17 10:23:41 -05:00
Tom Morris
ea401c9046 Only generate dir for HOCR when needed - fixes #208
Takes advantage of inheritance and dir="ltr" default to:
 - only generate paragraph dirs which are not ltr
 - only generate word dirs which don't match enclosing paragraph

Tested against LTR, RTL, and mixed direction files. Files for the
latter two cases are in a separate commit on the ltr-test-files branch.
2016-02-17 10:23:41 -05:00
Tom Morris
809bbd9bfa Fix varsize array for Microsoft compiler 2016-02-17 10:20:18 -05:00
zdenop
e028274ae6 Merge pull request #226 from tfmorris/issue225
INCOMPATIBLE fix to hOCR line height information - fixes #225.
2016-02-16 21:15:47 +01:00
Tom Morris
431786276c INCOMPATIBLE fix to hOCR line height information - fixes #225.
This fixes the duplicate line IDs caused by inserting height information
into the middle of the ID and it moves the line height info into
the title attribute like everything else, rather than using non-standard
HTML attributes (which won't validate).

This change may break consumers of the HTML output, but 3.04 has only
been in the wild for 6 months and the current HTML is invalid, so I 
believe the benefit outweighs the cost for the fix.
2016-02-15 18:02:46 -05:00
Egor Pugin
3422059e09 Merge pull request #222 from tfmorris/hocr-config
Document hocr_font_info in config
2016-02-15 13:48:32 +03:00
Tom Morris
e3e1fe0e20 Document hocr_font_info in config 2016-02-14 16:49:00 -05:00
zdenop
640a98f24b Merge pull request #211 from amitdo/amitdo-readme-update1
Update README.md
2016-02-12 09:46:37 +01:00
zdenop
4393d040bd Merge pull request #220 from jbarlow83/master
Replace pdf.ttf with sharp2.ttf, keep name the same
2016-02-12 09:46:20 +01:00
James R. Barlow
b30930b95a Replace pdf.ttf with sharp2.ttf, keep name the same
As discussed at length in issue #182, the existing pdf.ttf causes difficulties
for certain PDF viewers, in part because the old file had zero advance width.

With testing, sharp2.ttf seems to be the best available compromise, although
it's not perfect and causes some visual difficulties in Evince.  It does
seem to fix Kindle and OS X Preview.
2016-02-11 15:44:11 -08:00
Amit Dovev
a67278f61a Update README.md 2016-02-09 23:30:46 +02:00
Amit Dovev
cc88f3509b Update README.md 2016-02-09 16:42:12 +02:00
Amit Dovev
7a90446a0b Update README.md 2016-02-06 15:04:27 +02:00
Egor Pugin
b68be44265 Merge branch 'master' of github.com:tesseract-ocr/tesseract 2016-02-04 13:44:22 +03:00