Shree Devi Kumar
a404c9cdb3
change type to UChar32 to fix IsValidCodepoint
2017-09-16 14:10:34 +05:30
zdenop
e62e8f5f80
Merge pull request #1109 from mingodad/mingodad-fix-interword-spaces
...
Fix to preserve_interword_spaces work again
2017-09-15 08:45:21 +02:00
zdenop
188e1fc2c1
Merge pull request #1128 from vidiecan/issue_1127
...
Returns the correct dictionary if lstm only used
2017-09-14 20:38:49 +02:00
jm
2a77d5ad69
returns the correct dictionary if lstm only used
2017-09-14 13:03:22 +02:00
zdenop
d962d344d9
Merge pull request #1126 from stweil/unittest
...
Fix unittest/apiexample_test
2017-09-13 14:11:17 +02:00
Stefan Weil
67f706f9ef
unittest/apiexample_test: Use googletest API for error handling
...
Use the Google C++ Testing Framework instead of calling fprint / exit.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-09-13 13:50:39 +02:00
Stefan Weil
b42df389be
unittest/apiexample_test: Report missing test image
...
This avoids a runtime error (SIGSEGV caused by nullptr) for that case.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-09-13 13:43:49 +02:00
Stefan Weil
5c7600c282
unittest/apiexample_test: Fix test for out-of-tree builds
...
The test expects to find phototest.tif and phototest.txt
in directory ../testing. Create symbolic links if those
files don't exist there.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-09-13 13:29:16 +02:00
Stefan Weil
8655524772
unittest/apiexample_test: Use "C" locale
...
We cannot assume that the locale "en_US.UTF-8" is always available.
Using the "C" locale should work better.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-09-13 13:26:09 +02:00
zdenop
7e4f5faa72
Merge pull request #1123 from stweil/googletest
...
unittest: Fix path for libtesseract in out of tree builds
2017-09-12 20:44:01 +02:00
Stefan Weil
4ae227df53
unittest: Fix path for libtesseract in out of tree builds
...
The library is provided in the build path (which is not
the same as the source path for out of tree builds).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-09-12 17:24:34 +02:00
zdenop
04b0397c5f
Merge pull request #1120 from amitdo/multiplelibs
...
Autotools build: Remove the option 'USING_MULTIPLELIBS'
2017-09-12 09:02:13 +02:00
zdenop
876344f8d0
Merge pull request #1121 from Shreeshrii/install-git-instructions
...
Add missing information
2017-09-12 09:01:16 +02:00
Shreeshrii
c55e487ea4
Add additional information
...
- minimum Leptonica version for 4.0x
- sudo ldconfig
2017-09-12 11:32:27 +05:30
amitdo
a905548ed6
Autotools build: Remove the option 'USING_MULTIPLELIBS'
...
Libtool's convenience libraries should never be installed. Fixes #985 .
2017-09-11 15:03:53 +03:00
zdenop
dd422c36e6
Merge pull request #1118 from Shreeshrii/fixoverwrite
...
fix accidental overwrite because of using old version
2017-09-11 12:22:48 +02:00
Shree Devi Kumar
4e9c975859
fix accidental overwrite using old version
2017-09-11 14:45:25 +05:30
zdenop
7569c899f7
Merge pull request #1116 from Shreeshrii/fixunittest
...
delete gunit.h; add merge_unicharsets to build
2017-09-11 09:33:02 +02:00
Shreeshrii
9a038f893a
Add merge_unicharsets to build
2017-09-10 21:51:52 +05:30
Shree Devi Kumar
f6c22dbf66
remove duplicate - gunit.h
2017-09-10 14:50:59 +05:30
Egor Pugin
c50e4f6238
Fix cppan dependency.
2017-09-10 02:28:05 +03:00
Egor Pugin
36e0d2093a
Fix windows build.
2017-09-09 21:25:25 +03:00
Egor Pugin
63e1862049
Disable travis os x builds as they do not work well on travis-side.
2017-09-09 21:13:14 +03:00
Ray Smith
3493785f7d
Fixed apiexample and intsimdmatrix tests and prepared Makefile.am for more tests
2017-09-08 17:34:31 +01:00
Ray Smith
9d258e20d3
Fixed build of unicharset_extractor
2017-09-08 15:33:03 +01:00
Ray Smith
fc6a390c6c
Added intsimdmatrix as a generic integer matrixdotvector function with AVX2 and SSE specializations
2017-09-08 15:06:19 +01:00
Ray Smith
ad74e8a69c
Fixed integer overflow error
2017-09-08 12:46:48 +01:00
Ray Smith
4cf123e099
Added ability to randomly rotate images upside-down during training for training OSD
2017-09-08 12:42:57 +01:00
Ray Smith
3e63918f9d
Fixed order of characters in ligatures of RTL languages issue #648
2017-09-08 11:55:11 +01:00
Ray Smith
a912967cc3
Rewrote unicharset_extractor to use the new string normalizer and read plain text as well as box files.
2017-09-08 11:49:57 +01:00
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
Domingo Alvarez Duarte
ea557a3e66
Fix to preserve_interword_spaces work again
2017-09-06 11:18:42 +02: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