Commit Graph

6261 Commits

Author SHA1 Message Date
Stefan Weil
70109f1e8f Use Leptonica API to access internals of Pix
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-06-23 11:23:22 +02:00
Nicolas Abram
71b045cf20
C API: Add a function to init tesseract with traineddata from memory (#3780)
Fixes #3691.

* retrigger checks
2022-06-20 14:53:42 +03:00
Amit D
cc06ae456e
Update README.md [skip ci] 2022-06-14 19:01:30 +03:00
Amit D
b5878c23a7
README: Add link to tessdoc/InputFormats
[skip ci]
2022-06-13 18:19:18 +03:00
Stefan Weil
330d49a0a3 Replace BOX -> Box
Both are equivalent, but the rest of the code already uses Box.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-06-10 19:20:19 +02:00
Amit D
395f2315bc
Update README.md
Fix sw status link.
2022-06-10 15:21:51 +03:00
Zdenko Podobný
6bc304d121 Update cmake-win64.yml (D8016: '/Qpar' and '/openmp:llvm' command-line options are incompatible ) 2022-06-08 16:23:49 +02:00
Zdenko Podobný
34cfeafc7f Update cmake-win64.yml 2022-06-08 15:49:58 +02:00
zdenop
2e8ff001e1
Update cmake-win64.yml 2022-06-08 15:31:57 +02:00
zdenop
e3aed54d1d
Update cmake-win64.yml 2022-06-08 15:24:49 +02:00
zdenop
74800c0cc4
Update cmake-win64.yml 2022-06-08 15:15:54 +02:00
Zdenko Podobný
ffb6c09db6 GA: improve cmake-win64: use variable for location, add libarchive build, disabple not need functions 2022-06-08 15:09:15 +02:00
zdenop
67841aa89f do not use '\0' in std::string => fixes issue #3837 (loading uzn file) 2022-06-07 21:31:00 +02:00
Podobny Zdenko
d2015a6119 cmake: fix Build with clang-cl on Windows; fixes #3683 2022-06-07 11:44:29 +02:00
zdenop
d1912d7010
Merge pull request #3835 from Yulv-git/typos1
Fix some typos.
2022-06-05 14:46:17 +02:00
Yulv-git
8bc7a9591d Fix some typos. 2022-06-05 16:48:20 +08:00
Egor Pugin
11796584a2
[sw] Fix macos aarch64 build. 2022-06-03 18:16:36 +03:00
zdenop
554c7ddd93
Update cmake-win64.yml 2022-06-02 20:55:26 +02:00
zdenop
e74f877d5b
Update cmake-win64.yml
test artifact
2022-06-02 20:19:25 +02:00
zdenop
d645a0333f
Update cmake-win64.yml
skip webp build
2022-06-02 14:06:28 +02:00
zdenop
968b6db0b4
Update cmake-win64.yml 2022-06-02 13:27:33 +02:00
Amit D
fdafe6c5b6
Update cmake-win64.yml 2022-06-02 10:07:50 +03:00
Amit D
71ca12f693
Update cmake-win64.yml
zlib 1.2.11 zip archive is broken. Download and install 1.2.12 instead.
2022-06-02 10:00:20 +03:00
Egor Pugin
cfccc599f3
Update sw.yml 2022-06-01 19:08:33 +03:00
Egor Pugin
b3011ef72c
[ci][sw] Add vs2019 and ubuntu22.04. 2022-06-01 19:06:23 +03:00
Stefan Weil
75f17800e0 Remove Travis from README.md
Tesseract no longer uses Travis CI, so remove the link to old results.

Fixes: 9ff97cd8a3 ("Delete .travis.yml")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-05-29 19:34:07 +02:00
Stefan Weil
2aa6eda1c2 Remove trailing blanks
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-05-29 19:30:59 +02:00
Robert Clausecker
2e7ae6eeb6
Fix NEON detection on FreeBSD (#3782)
Co-authored-by: Stefan Weil <sw@weilnetz.de>
2022-05-29 19:06:54 +02:00
Stefan Weil
64bcdce607 Replace std::regex by std::string functions (fixes issue #3830)
On Windows with UCRT and a UTF-8 locale std::regex takes a lot of time
(several minutes!). Replacing it avoids that bottleneck.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-05-29 10:21:51 +02:00
Stefan Weil
f36c0d019b Replace direct access to Leptonica internal data structures by function calls
This fixes builds with latest Leptonica code (for example for OSS-Fuzz).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-05-03 12:15:39 +02:00
Stefan Weil
9aa81cddbf Use unsigned offsets for PDF
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-05-03 08:24:04 +02:00
mcsjosh
ac7adc8ea5
Pdf offset fix (#3808)
* Ensure that TessPDFRenderer::offsets_ elements are at least 64-bit

* Use a signed type for PDF offsets
2022-05-02 22:26:51 +03:00
Egor Pugin
9ff97cd8a3
Delete .travis.yml 2022-04-30 22:35:21 +03:00
zdenop
5e053f3c72 cmake: report build arch 2022-04-15 14:32:07 +02:00
zdenop
a0354010b2 cmake:fix typo 2022-04-15 14:31:40 +02:00
Stefan Weil
898ced5c0a Fix sw build for AVX512
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-04-15 13:55:06 +02:00
zdenop
864ab537bb
Merge pull request #3792 from stweil/avx512f
Add initial support for Intel AVX512F
2022-04-15 12:52:18 +02:00
Stefan Weil
b0d82879e5 Add initial support for Intel AVX512F
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-04-14 23:47:04 +02:00
Stefan Weil
b5b5e92694 Add missing apt-get update in CI actions
This fixes some broken CI runs.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-04-13 08:33:12 +02:00
Egor Pugin
7ba435df45
Merge pull request #3789 from sunoru/patch-appendstring
Check input for `AppendString` to avoid `strlen(nullptr)`.
2022-04-11 23:50:31 +03:00
Sunoru
def53f3d4e
Check input for AppendString to avoid strlen(nullptr). 2022-04-11 16:37:35 -04:00
Stefan Weil
facd55ab5c Set /Os for some 32 bit MS compilers (fixes #3769)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-03-31 22:10:24 +02:00
Stefan Weil
fd48287c02 scrollview: Fix two comments
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-03-31 15:46:56 +02:00
Shreeshrii
18d61ecdef
Add CI for openmp performance comparison (#3774)
* Add CI for openmp performance comparison

* Update .github/workflows/autotools-openmp.yml

Co-authored-by: Stefan Weil <sw@weilnetz.de>

* Update autotools-openmp.yml

* Update autotools-openmp.yml

Add linefeed

Co-authored-by: Stefan Weil <sw@weilnetz.de>
2022-03-28 08:44:15 +02:00
Shreeshrii
ac69d07f43
Update autotools.yml 2022-03-26 12:00:50 +05:30
Shree Devi Kumar
3b46c964d2 Add benchmark test with disable-openmp 2022-03-26 06:26:38 +00:00
zdenop
68144fa2a7
Merge pull request #3773 from Gitoffthelawn/patch-1
Added link to tessdata repository
2022-03-25 13:57:43 +01:00
Gitoffthelawn
075dae8a5d
Added link to tessdata repository
Thank you for this excellent project.
2022-03-25 04:30:33 -07:00
zdenop
76dbc21233 fix OpenCL with Nvidia drivers 2022-03-19 11:54:09 +01:00
zdenop
c5007c082b cmake: fix OpenCL build 2022-03-19 11:52:57 +01:00