Commit Graph

2142 Commits

Author SHA1 Message Date
Ray Smith
c773eb5784 Fixed rendering of Thai and units of char spacing 2017-09-08 10:29:03 +01:00
Ray Smith
e96d1df072 Fixed leaks in pango font info 2017-09-08 10:28:22 +01:00
Ray Smith
bf774382e8 Updated comments on RemapOutputs 2017-09-08 10:24:00 +01:00
Ray Smith
0382222d85 More clang-tidy fixes from sync 2017-09-08 10:22:32 +01:00
Ray Smith
f25cc27a34 Update fopr leptonica 1.74 2017-09-08 10:21:38 +01:00
Ray Smith
a2a72d7ca7 Clang tidy changes from sync 2017-09-08 10:13:33 +01:00
Ray Smith
a18620cfea Improved results on images with no resolution. Estimates resolution
from the size of the connected components, based on average text size.
2017-09-08 09:37:03 +01:00
Egor Pugin
147a1a50b7 Merge pull request #1112 from Sineaggi/fix-unix-simd
CMake: Add -mavx and -msse4.1 compile flags on unix
2017-09-07 09:30:59 +03:00
Clayton Walker
0d7c89ead4 Add -mavx and -msse4.1 compile flags on unix 2017-09-06 18:55:27 -06:00
zdenop
f29498ffd6 Merge pull request #1088 from Shreeshrii/master
makefile.am and apiexample_test
2017-09-05 20:40:00 +02:00
zdenop
3104c42616 Merge pull request #1104 from stweil/typo
Fix some typos
2017-09-05 20:38:42 +02:00
Shreeshrii
69ef9401ca Groundtruth for testing/eurotext.tif 2017-09-04 18:31:13 +05:30
Shreeshrii
e0464a0d31 Delete readme.md 2017-09-04 10:45:44 +05:30
Shreeshrii
f7284569ff Use groundtruth from testing directory 2017-09-04 10:44:43 +05:30
Shreeshrii
0ed7317c38 Rename unittest/testfiles/phototest.txt to testing/phototest.txt
Add groundtruth in the testing directory
2017-09-04 10:42:37 +05:30
Stefan Weil
61f96981e5 training: Fix typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-09-03 09:16:02 +02:00
Stefan Weil
b9365cdff1 api: Fix typo in comment
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-09-03 09:14:00 +02:00
Shreeshrii
10cf508442 Changed syntax for AM_CPPFLAGS
as per suggestion in https://github.com/tesseract-ocr/tesseract/pull/1088#discussion_r136700733

Not ALL of these are needed currently.
2017-09-03 08:09:18 +05:30
Shreeshrii
3b05b3e28b revert blank line at end
as not needed after 
8bb5a89d5a
2017-09-02 20:00:45 +05:30
Stefan Weil
6ac5d0ba8f dawg: Fix typos and file information in file header
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-08-30 21:48:06 +02:00
Egor Pugin
9c2fa0d165 Merge pull request #1100 from Sineaggi/master
cmake install fixes
2017-08-30 02:49:24 +03:00
Clayton Walker
69b9d298c7 Fix version.h not being installed 2017-08-29 15:14:54 -06:00
Clayton Walker
52cac3a42e Fix library being named liblibtesseract on non win32 platforms 2017-08-29 15:14:13 -06:00
zdenop
27d25e9c99 Merge pull request #1094 from stweil/spaces
Add missing spaces in help text
2017-08-24 08:16:53 +02:00
Stefan Weil
b016c48d06 Add missing spaces in help text
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-08-23 19:12:41 +02:00
zdenop
1e3bf29cf6 Merge pull request #1092 from stweil/fixtext
Don't add empty line to text output
2017-08-21 12:05:01 +02:00
Stefan Weil
8bb5a89d5a Don't add empty line to text output
Empty lines in text output are needed to separate paragraphs,
but there should not be an empty line at the end of the text.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-08-21 09:47:35 +02:00
zdenop
de98a68dd0 Merge pull request #1089 from stweil/text
Fix hint for training build
2017-08-19 22:32:32 +02:00
Stefan Weil
742b303548 Fix hint for training build
* Fix grammar.
* Fix text ("after building ..." is not necessary).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-08-19 21:35:55 +02:00
Shreeshrii
6773e8b909 add blank lines to match OCRed text 2017-08-19 19:17:08 +05:30
Shreeshrii
267734bc34 Changes needed for adding make check for unittest 2017-08-19 19:01:46 +05:30
Shreeshrii
f3dc156f22 updated version of apiexample_test 2017-08-19 18:46:23 +05:30
Shreeshrii
7b409a1bfa unittest testfile 2017-08-19 18:43:57 +05:30
Shreeshrii
436ad77e44 Create readme.md 2017-08-19 18:43:10 +05:30
Shreeshrii
88e4c62b39 Add files via upload 2017-08-19 18:42:06 +05:30
theraysmith
6f13d75534 Merge pull request #1051 from stweil/googletest
Add GoogleTest infrastructure
2017-08-17 20:19:46 -07:00
zdenop
3847b7dd74 Merge pull request #1085 from KindDragon/patch-1
Added CMake option to use system ICU library
2017-08-17 08:37:33 +02:00
Arkady Shapkin
d171488e21 Added CMake option to use system ICU library 2017-08-17 02:50:54 +03:00
zdenop
7afa05a03e Merge pull request #1072 from stweil/listlangs
List available languages recursively
2017-08-13 14:50:42 +02:00
zdenop
197b89b6ac Merge pull request #1077 from chrismamo1/chore/cleanup-compiler-warnings
WIP: Chore/cleanup compiler warnings
2017-08-13 14:50:26 +02:00
zdenop
3755a29abb Merge pull request #1076 from chrismamo1/bug/listlangs-without-eng
move code around so that list-langs will work without an English traineddata file
2017-08-13 14:50:10 +02:00
chrismamo1
6f281c36a7 fix a problem I introduced in a previous commit 2017-08-12 18:09:22 -05:00
chrismamo1
7111167497 fix a set-but-not-used warning and add casts for comparing signed+unsigned numbers 2017-08-12 17:53:28 -05:00
chrismamo1
b89bb09f9b fix a set but not used warning and cleanup some old code from 2007 2017-08-12 17:48:33 -05:00
chrismamo1
f9b51d7983 suppress a strict aliasing warning; the original author was very clear about the nature of the problematic code 2017-08-12 17:36:50 -05:00
chrismamo1
5fd3e22f74 move code around so that list-langs will work without an English traineddata file 2017-08-12 17:15:27 -05:00
Stefan Weil
cc0d87c5b8 List available languages recursively
Tesseract supports hierarchies of languages and uses them since
the new files best/*.traineddata were added.

Now `tesseract --list-langs` also shows any traineddata files in
subdirectories of the tessdata directory.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-08-10 18:55:38 +02:00
Egor Pugin
efa50daf5a Merge pull request #1070 from stweil/resolution
Change default resolution from 70 to 300 dpi
2017-08-08 23:05:14 +03:00
Stefan Weil
0720b3f38b Change default resolution from 70 to 300 dpi
The default resolution is used for images without an explicit resolution
or with an unreasonable resolution (smaller than 70 or larger than 2400).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-08-08 16:48:10 +02:00
Ray Smith
5f5e85e4a0 Fixed lack of error on non-existent traineddata 2017-08-07 09:58:43 -07:00