Commit Graph

5016 Commits

Author SHA1 Message Date
Shree Devi Kumar
5104af6a15 Remove --psm 6 for lstm.train in tesstrain.py 2021-01-12 13:26:33 +01:00
Shree Devi Kumar
106b3d1ed0 No --psm 6 for lstm.train 2021-01-12 12:42:53 +01:00
Stefan Weil
e1b9f1b446 automake: Flat build for doc
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-11 21:58:45 +01:00
Robert Pösel
ca9c7ba303 Fix NEON also tesseractmain.cpp 2021-01-11 12:17:25 +01:00
Robert Pösel
1954ee3867 Fix use of NEON on ARMv8
Flag neon_available_ is automatically set to true when __aarch64__ is defined,
but the actual check for neon_available_ required having also HAVE_NEON defined.

Now we check the flag also when only __aarch64__ is defined.
2021-01-11 12:17:16 +01:00
Egor Pugin
15c214be06 Revert "Try to fix aarch64 build on macos."
This reverts commit a6321940dc.
2021-01-11 13:51:35 +03:00
Egor Pugin
c399a6b04e Try to fix cmake build. 2021-01-11 13:47:55 +03:00
Egor Pugin
a6321940dc Try to fix aarch64 build on macos. 2021-01-11 12:53:03 +03:00
Stefan Weil
a522377993 Fix stringrenderer_test
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-10 23:22:45 +01:00
Stefan Weil
59b3a79e0b Fix ligature_table_test
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-10 23:22:45 +01:00
Stefan Weil
3851e30a48 Fix pango_font_info_test
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-10 23:22:45 +01:00
Stefan Weil
021237ad2c Add assertion for IntCastRounded
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-10 15:08:31 +01:00
Egor Pugin
af8e24ce03
Update sw.yml 2021-01-10 14:58:30 +03:00
Shree Devi Kumar
3c71749b86 Delete TESSDATA_BEST_DIR macro 2021-01-08 20:25:26 +01:00
Stefan Weil
e46141ac99 Replace snprintf by strncpy (fix compiler warning)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-08 19:01:26 +01:00
Stefan Weil
209c1df599 Fix some format strings
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-08 18:49:21 +01:00
Stefan Weil
ea4f9de4f4 Add include path for leptonica for fuzzer build
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-07 22:30:09 +01:00
Egor Pugin
b79d73f52e
Merge pull request #3217 from 1480c1/unicode
Makefile.am: remove unicode files
2021-01-07 21:50:05 +03:00
Christopher Degawa
d7f44d4150
Makefile.am: remove unicode files
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
2021-01-07 18:28:43 +00:00
Egor Pugin
8cb1c62259 More std::vector. 2021-01-07 15:13:59 +03:00
Egor Pugin
8d6cad1acc Misc. 2021-01-07 14:33:45 +03:00
Egor Pugin
4f5bd1c562 Move unicodes into files where they are used. 2021-01-07 14:33:02 +03:00
Egor Pugin
8aa5492262 Misc. 2021-01-07 14:14:40 +03:00
Egor Pugin
9cc7bdeaa6 Use std::bitset<16> instead of custom BITS16. 2021-01-07 14:14:27 +03:00
Egor Pugin
9710bc0465 More std::vector. 2021-01-07 13:57:57 +03:00
Egor Pugin
154ea6bab8
Update sw.yml 2021-01-07 12:44:52 +03:00
Egor Pugin
3cccacf023
Update sw.yml 2021-01-07 03:43:11 +03:00
Egor Pugin
95b98042c3
Update sw.yml 2021-01-06 18:12:25 +03:00
Stefan Weil
e1f1f325f7 Fix brew check for GitHub actions
Don't abort if a brew catalog file is missing.

This is needed for the GitHub actions environment
which provides brew also for Linux.

Running cross builds then failed at AC_CHECK_FILE.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-06 14:01:06 +01:00
Egor Pugin
a772571401
Update sw.yml 2021-01-06 13:49:19 +03:00
Egor Pugin
ca4a3f9a90
Update sw.yml 2021-01-06 13:45:09 +03:00
Egor Pugin
6be8198532
Update sw.yml 2021-01-06 02:08:24 +03:00
Stefan Weil
dd8ee23fa2 Remove remaining parts of emalloc (fix autotools build)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-05 23:29:08 +01:00
Stefan Weil
66128429e5 Fix include statement for allheaders.h
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-05 23:18:39 +01:00
Stefan Weil
7757bde818 Sort entries in Makefile.am
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-05 23:17:06 +01:00
Stefan Weil
d000df7e00 Remove remaining parts of tessopt (fix autotools build)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-05 23:06:17 +01:00
Egor Pugin
db43bb43dc [test] Init FC early. 2021-01-06 00:30:52 +03:00
Egor Pugin
8e947a98b5 Remove emalloc. Replace it with malloc. To be replaced with new later. 2021-01-06 00:30:52 +03:00
Egor Pugin
d92c04abe5
Update sw.yml 2021-01-05 22:35:05 +03:00
Egor Pugin
6212e89882
Update sw.yml 2021-01-05 21:32:42 +03:00
Egor Pugin
db86fdd3e7 [ci] Copy fonts to testdir. 2021-01-05 21:23:35 +03:00
Egor Pugin
e6b00e6579 [test] Init fontconfig early. 2021-01-05 20:48:09 +03:00
Egor Pugin
b302e13126 [sw] Add pthread to tests. 2021-01-05 20:37:33 +03:00
Egor Pugin
2a74e72c39 [sw] Add pthread dependency. 2021-01-05 18:45:09 +03:00
Egor Pugin
af4ebaa943 Alloc on stack. 2021-01-05 18:07:40 +03:00
Egor Pugin
d3729cb34e Rmove unused members. 2021-01-05 18:07:10 +03:00
Egor Pugin
40aca00559 Remove unused var. 2021-01-05 17:56:39 +03:00
Egor Pugin
14cf6adda2 More std::vector. 2021-01-05 17:53:05 +03:00
Egor Pugin
a44d107e94 Misc. 2021-01-05 17:45:34 +03:00
Egor Pugin
6e94564152 [training] More unique ptrs. 2021-01-05 17:03:26 +03:00