zdenop
9ddf267907
Merge pull request #2268 from Shreeshrii/grapheme
...
Remove test for Word started with a combiner
2019-02-25 20:59:40 +01:00
Shree
449f1cd4ba
Remove test for Word started with a combiner
2019-02-25 18:47:42 +00:00
zdenop
8e83b209c6
Merge pull request #2262 from Shreeshrii/distort
...
Fix PrepareDistortedPix based on feedback
2019-02-23 18:23:24 +01:00
zdenop
25c43b1e7c
Merge branch 'master' into distort
2019-02-23 18:23:14 +01:00
Stefan Weil
b3e355a682
Remove whitespace at line endings
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-23 17:49:56 +01:00
Shreeshrii
34e4d6b1d7
Revert to 0 (50% percents of images inverted).
2019-02-23 17:59:00 +05:30
Shreeshrii
287d5341bf
TODO
2019-02-23 17:56:02 +05:30
Shreeshrii
3e3e1ed55d
Remove commented Code
2019-02-23 17:54:00 +05:30
zdenop
c02f5e99fc
Merge pull request #2259 from Shreeshrii/distort
...
implement PrepareDistortedPix as part of DegradeImage
2019-02-22 21:06:29 +01:00
Shree
2aded47a3c
Implement distort_image in text2image - default false
2019-02-22 12:27:27 +00:00
Shree
49ed3a72d4
implement PrepareDistortedPix as part of DegradeImage
2019-02-21 14:48:29 +00:00
zdenop
e250f3422d
Merge pull request #2258 from stweil/doc
...
Fix doxygen comments
2019-02-21 07:41:22 +01:00
zdenop
b6868599dc
Merge pull request #2257 from stweil/dp
...
Optimize calculation of dot product for double vectors with AVX
2019-02-21 07:40:22 +01:00
Egor Pugin
9644b582fe
Update appveyor.yml
2019-02-21 01:23:50 +03:00
Stefan Weil
2cbe723d03
Fix doxygen comments
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-20 21:11:38 +01:00
Stefan Weil
ef4d5b2e69
Optimize calculation of dot product for double vectors with AVX
...
This improves the performance with best models and should also
make training faster.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-20 17:45:38 +01:00
Stefan Weil
b3bd23edb7
Remove whitespace at line endings
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-19 13:53:31 +01:00
Stefan Weil
b95598a0b1
Merge pull request #2070 from pndaza/master
...
add missed letters ( ၌ ၍ ၎ ၏ ) and symbols ( ၊ ။ ) - 0x104a to 0x104f -
2019-02-19 12:22:53 +01:00
Egor Pugin
24a828be58
Merge pull request #2252 from stweil/macos
...
Enable CI build for macOS and fix a compiler warning by using __builtin_trap
2019-02-18 15:08:56 +03:00
Stefan Weil
38861be639
Use __builtin_trap instead of null pointer dereference to abort
...
This fixes a warning from Apple's clang compiler:
[ 34%] Building CXX object CMakeFiles/libtesseract.dir/src/ccutil/errcode.cpp.o
/Users/travis/build/stweil/tesseract/src/ccutil/errcode.cpp:83:7: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
*reinterpret_cast<int*>(0) = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/travis/build/stweil/tesseract/src/ccutil/errcode.cpp:83:7: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-18 10:49:51 +01:00
Stefan Weil
4bd18c4c1b
Travis: Enable continuous integration build for macOS
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-18 10:49:51 +01:00
zdenop
a93ef8e0ae
Release candidate 1 for 4.1.0
2019-02-17 20:53:05 +01:00
zdenop
441779de51
fix showing git tag for cmake build
2019-02-17 20:52:40 +01:00
zdenop
a2481de926
Revert "cmake workaround for #2246 for clang"
...
This reverts commit 4d8bbe2c97
.
2019-02-17 16:34:39 +01:00
Stefan Weil
ddea230b1b
Don't compute function tables at compile time with clang
...
The current code fails to compile with clang compilers on Linux and macOS.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-17 08:38:42 +01:00
Egor Pugin
3480f1e5d9
[sw] Fix clang-cl build.
2019-02-17 01:15:45 +03:00
zdenop
e54c06f8d4
Merge branch 'master' of https://github.com/tesseract-ocr/tesseract
2019-02-16 17:56:18 +01:00
zdenop
4d8bbe2c97
cmake workaround for #2246 for clang
2019-02-16 17:55:45 +01:00
zdenop
48be357688
Merge pull request #2220 from cjmayo/man_config
...
Man page description of configs and parameters
2019-02-16 13:53:47 +01:00
zdenop
15f2a4b2c1
Merge pull request #2231 from Shreeshrii/wordstr
...
Add renderer to create WordStr box files from images
2019-02-16 13:48:06 +01:00
zdenop
c78e94729d
Merge pull request #2247 from stweil/fix
...
Fix check for images which are too small to scale
2019-02-16 13:22:03 +01:00
Egor Pugin
3e254fcb33
Merge pull request #2248 from stweil/man
...
Improve robustness of manpage build
2019-02-16 12:58:59 +03:00
Stefan Weil
7a1c6fe6f3
Fix typo
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-16 09:34:17 +01:00
Stefan Weil
6e37389fcd
doc: Don't fail if manpages fail to build
...
Even with installed asciidoc and xsltproc the build will fail if
xsltproc cannot find the required stylesheet
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl .
Ignore such errors until there is a better check in configure.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-15 22:19:52 +01:00
Stefan Weil
42ea432418
configure: Check for xsltproc (needed to generate manpages)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-15 22:19:52 +01:00
zdenop
7f65afbaeb
cmake check for avaible C++ standard. Mininum reqiered standard is C++11
2019-02-15 17:50:45 +01:00
Stefan Weil
862322c18c
Fix check for images which are too small to scale
...
Images with width == min_width are not too small.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-15 13:53:11 +01:00
Shree
a044f64375
fix Myanmar validation rules as per Unicode charts
2019-02-15 04:40:55 +00:00
Stefan Weil
5fb2509855
Merge pull request #2241 from felixonmars/patch-1
...
Fix a typo in Doxyfile
2019-02-14 21:20:49 +01:00
Felix Yan
d35f119c68
Fix a typo in Doxyfile
2019-02-15 04:07:35 +08:00
zdenop
b67ff533cd
Merge pull request #2227 from rrrapha/doc-makefile
...
Avoid gmake-specific pattern substitution in Makefile.am.
2019-02-14 13:06:52 +01:00
zdenop
6256df1d68
Merge pull request #2238 from stweil/cplusplus14
...
Use C++14 if supported and optionally improve lookup tables
2019-02-14 13:04:04 +01:00
Stefan Weil
50f42ebbfc
Update test submodule
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-14 11:50:57 +01:00
Stefan Weil
c0523ee5a2
Fix compiler warning
...
g++ warning:
src/lstm/functions.h:152:35: warning:
unused parameter ‘x’ [-Wunused-parameter]
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-14 10:29:39 +01:00
Stefan Weil
3556152412
Compute function tables at compile time
...
This requires C++ 14. Older compilers still use the old code.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-14 10:29:39 +01:00
Stefan Weil
fd6e281c61
Use C++14 compiler if possible
...
This allows using new features of C++14 conditionally.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-13 11:05:34 +01:00
Stefan Weil
b3327f4e90
Remove unneeded checks for snprintf
...
snprintf is a standard function which should be available
on all relevant platforms, so those checks are unnecessary.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-13 08:04:52 +01:00
zdenop
f627b95a4c
Merge pull request #2235 from stweil/tables
...
Simplify tanh and logistic functions and precompute function tables
2019-02-12 17:39:01 +01:00
Stefan Weil
f491eb6188
Simplify tanh and logistic functions and precompute function tables
...
Both functions are called very often, so computing the table values
at program start should be faster than computing them on demand.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-12 12:04:08 +01:00
Shree Devi Kumar
f3362a4b5b
Add renderer to create WordStr box files from images
2019-02-10 19:59:17 +00:00