Commit Graph

6315 Commits

Author SHA1 Message Date
Stefan Weil
d366e1e987 Fix loading of sublangs (regression)
Model files which where defined with tessedit_load_sublangs in another
model file where no longer loaded since Tesseract release 5.0.0-rc2.

Fixes: 9091055783 ("Fix loading of additional model files")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-10-05 17:53:15 +02:00
Yiğit Efe İ
dfcd485725 Update SVPopupMenu.java
fixed typo
2023-10-05 12:42:48 +02:00
Yiğit Efe İ
4e3518a1d7 Update SVImageHandler.java
fixed typo
2023-10-05 12:42:48 +02:00
Yiğit Efe İ
834127c524 Update SVEventHandler.java
fixed typo
2023-10-05 12:42:48 +02:00
Parryword
faa06cc787 Update ScrollView.java
merged very short lines
2023-10-05 12:42:48 +02:00
Parryword
d26fbab6ce Update ScrollView.java
typo fixed
2023-10-05 12:42:48 +02:00
Stefan Weil
195045e602 Update test submodule
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-10-05 12:28:18 +02:00
Stefan Weil
063ad31a60 Fix regression in layout detection since 5.0.0 (fixes issue #4014)
"auto" resulted in unsigned numbers, but htext_score and vtest_score
can be negative.

Fixes: 842cca1d49 ("Fix more signed/unsigned compiler warnings")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-10-05 08:10:44 +02:00
Ikko Eltociear Ashimine
7e0c1d708b Fix typo in stepblob.h
repostion -> reposition
2023-09-30 20:30:14 +02:00
R. Savchenko
39222a00e9
initDSProfile: correct std::vector usage (#4124)
Co-authored-by: Roman Savchenko <rsavchenko@alteryx.com>
2023-09-13 11:01:46 +02:00
Amit D
566f97a29a
sw.yml: Remove Ubuntu 20.04
SW is broken with the default compiler of Ubuntu 20.04.
2023-09-11 23:08:47 +03:00
Amit D
84318ed355
Update autotools.yml 2023-09-05 19:40:33 +03:00
Amit D
74fa1c5bbf
Update cmake.yml 2023-09-05 19:27:26 +03:00
zdenop
544dff4423 fix typos 2023-08-30 13:38:52 +02:00
Kevin Unger
8b4284d28b add missing commas 2023-08-16 13:54:11 +02:00
Kevin Unger
fa50115efc fix citation links 2023-08-16 13:54:11 +02:00
zdenop
ce93692370
Merge pull request #4115 from stweil/citations
Rename BibTex file to please GitHub
2023-08-08 21:28:15 +02:00
Stefan Weil
7c7498c327 Rename BibTex file to please GitHub
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-08-08 16:51:58 +02:00
Stefan Weil
3852f4c8f6 Optimize function ImageFind::FindImages
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-08-08 16:44:16 +02:00
Stefan Weil
2b375fc3d6 Fix comment for function UNICHARSET::set_black_and_whitelist
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-08-08 16:43:36 +02:00
Stefan Weil
77e4eab565 Fix comment for function HOcrEscape
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-08-08 16:43:36 +02:00
Stefan Weil
0768e4ff4c Fix comment
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-07-30 12:43:39 +02:00
Stefan Weil
8fdf20342a Provide more disk space for GitHub action unittest
ubuntu-20.04-gcc-unittest failed because it ran out of disk space.
Removing some unused directories adds more than 30 GiB free disk space.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-07-28 07:17:19 +02:00
Parryword
a726020936 Update ScrollView.java
typo fixed
2023-07-19 20:24:02 +02:00
zdenop
54b9fe4de9 cmake: check_leptonica_tiff_support() works with cmake>=3.25 2023-07-15 19:43:50 +02:00
Stefan Weil
d1abdf353a Remove whitespace at line endings
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-07-13 10:01:59 +02:00
zdenop
b86afd63cf
Merge pull request #4097 from UB-Mannheim/main
Fix some issues which were reported by Coverity Scan
2023-07-12 08:33:33 +02:00
Stefan Weil
82c7999f6c
Merge pull request #4099 from pkubaj/patch-1
Fix build without git clone in cloned directory
2023-07-11 19:54:44 +02:00
pkubaj
9bf4b31012
Fix build without git clone in cloned directory
FreeBSD uses git to manage Ports Tree. Tesseract, when building from the Ports Tree, is built from a tarball that doesn't have .git and then git describe is ran on top of the Ports Tree.
2023-07-11 16:02:23 +00:00
Stefan Weil
f49b6e9f4d
Merge pull request #4098 from hesmar/main
Disable -mfpu=neon for aarch64
2023-07-11 16:45:31 +02:00
hesmar
d7c071197e Disable -mfpu=neon for aarch64
Disable -mfpu command line argument on aarch64, because it is not available in gcc (aarch64)
2023-07-11 16:29:39 +02:00
Stefan Weil
8df11a6af3 Avoid passing objects by value
This fixes several Coverity Scan issues.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-07-11 14:17:51 +02:00
Stefan Weil
675b21cf89 Add missing initialisation in DENORM copy constructor
This fixes a Coverity Scan issue:

    1487976 Uninitialized pointer read

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-07-11 14:16:31 +02:00
Stefan Weil
489f101c7e Create new release 5.3.2
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-07-11 13:54:45 +02:00
luzpaz
cf235ccfed Fix typos
Found via `codespell -q 3 -L bu,eiter,fo,fpr,inout,numer,pixes,thisy`
2023-07-08 08:35:27 +02:00
Amit D
6363975070
Update issue-bug.yml
Debian 12 Bookworm was recently released.
2023-06-28 12:37:15 +03:00
Amit D
bb8803aa03
Update .mailmap 2023-06-23 09:55:03 +03:00
Amit D
24da4c714b
Create config.yml 2023-05-24 22:21:27 +03:00
Stefan Weil
c8abff8df0 Remove old broken GitHub action vcpkg-4.1.1 (fixes issue #4078)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-05-21 15:54:16 +02:00
zdenop
58b75b3fd9 cmake: check if leptonica was build with tiff support 2023-05-10 22:09:49 +02:00
zdenop
d999957fae cmake: provide info about disabled LibArchive and CURL 2023-05-09 21:52:21 +02:00
zdenop
37a9fa9550 cmake: allow to disable tiff (-DDISABLE_TIFF=ON) 2023-05-09 21:51:05 +02:00
zdenop
3e911e4cf5
Merge pull request #4073 from stweil/osd
Abort with error message if OSD is requested with LSTM-only model
2023-05-09 20:51:04 +02:00
zdenop
fbba190d72
Merge pull request #4071 from stweil/clean
Clean code
2023-05-09 20:50:23 +02:00
Stefan Weil
92999505ee Abort with error message if OSD is requested with LSTM-only model
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-05-09 19:24:24 +02:00
Stefan Weil
a9ad3601b8 Avoid conversions from std::string to char* to std::string
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-05-09 18:30:19 +02:00
Stefan Weil
6cb82d8b1d Avoid 32 bit overflow in multiplication (fixes 3 CodeQL CI alerts)
The CodeQL CI reports "Multiplication result converted to larger type".

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-05-09 13:14:10 +02:00
zdenop
c9895dbad4
Merge pull request #4066 from stweil/lstmtraining
Improve format of logging from lstmtraining
2023-05-08 19:33:38 +02:00
zdenop
62962e089b
Merge pull request #4068 from stweil/sprintf
Replace deprecated sprintf
2023-05-08 13:14:57 +02:00
Stefan Weil
6b4eb8cf92 Remove unused code in function fix_rep_char
This also fixes a compiler warning:

    src/ccmain/control.cpp:1694:9: warning: variable 'gap' set but not used [-Wunused-but-set-variable]

Fixes: dbf6197471 ("Major refactor of control.cpp to enable line recognition")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-05-08 11:09:21 +02:00