Egor Pugin
60d2516d30
Merge pull request #3365 from Shreeshrii/fix
...
Actions CI: Change workflow name
2021-03-24 11:06:09 +03:00
Stefan Weil
595346d548
Replace some snprintf by std::to_string and modernize more code
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-24 08:01:59 +01:00
Shree
6dcb489d9e
Actions CI: Change workflow name
2021-03-24 04:38:14 +00:00
Egor Pugin
6ee69db22c
Merge pull request #3364 from stweil/master
...
Suppress output of page number for TIFF files with a single image
2021-03-23 21:46:14 +03:00
Stefan Weil
2048f328e0
Suppress output of page number for TIFF files with a single image
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-23 18:25:15 +01:00
Egor Pugin
9d8fd2e8ed
Merge pull request #3363 from Shreeshrii/split
...
Actions CI: Split autotools and unittest workflows into 2
2021-03-23 20:20:27 +03:00
Shree
db85905e5a
Actions CI: Split autotools and unitest workflows into 2
2021-03-23 16:36:38 +00:00
Stefan Weil
264dfb3685
Don't convert for loop after '#pragma omp parallel' with clang-tidy
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-23 15:48:59 +01:00
Stefan Weil
1205f036ea
Remove TessBaseAPI::SetThresholder (API change)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-23 08:59:04 +01:00
Stefan Weil
7d70ed4b41
Modernize code for OTSU and reduce public API further
...
Remove thresholder.h from the public API.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-23 08:59:04 +01:00
Egor Pugin
dcde0b474e
Merge pull request #3358 from stweil/master
...
Avoid lots of messages for training with single line images
2021-03-22 23:46:41 +03:00
Stefan Weil
ef645ce334
Avoid lots of messages for training with single line images
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 16:06:30 +01:00
Egor Pugin
0a74849477
Merge pull request #3356 from Shreeshrii/ciupdate
...
Actions CI Update
2021-03-22 16:38:01 +03:00
Shree
0970175555
Actions CI: Add MINGW64 builds using msys2
2021-03-22 13:00:32 +00:00
Shree
4446b570f6
Actions CI: rename 4.11 to 4.1.1
2021-03-22 12:59:04 +00:00
Shree
6f994f785d
Actions CI: Deleted unittest run which was running out of space
2021-03-22 12:58:07 +00:00
Egor Pugin
7677b80408
Merge pull request #3355 from eighttails/output_training_command_line
...
Print command line options if run_command() failed.
2021-03-22 15:13:31 +03:00
Tadahito Yao
3b436a72c5
Print command line options if run_command() failed.
2021-03-22 20:46:44 +09:00
Stefan Weil
f41583bcd5
Update submodule abseil to tagged release 20200923.3
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 10:38:34 +01:00
Stefan Weil
67dcbdda2f
Fix some compiler warnings
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 10:36:38 +01:00
Egor Pugin
d72c2b14a5
Merge pull request #3354 from stweil/master
...
Add braces to single line statements and modernize unittest code using clang-tidy
2021-03-22 11:23:27 +03:00
Stefan Weil
4530763329
Fix some compiler warnings
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 09:15:09 +01:00
Stefan Weil
fbaac9dc9d
Modernize code (clang-tidy -checks='-*,google-readability-braces-around-statements')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 09:03:51 +01:00
Stefan Weil
49d4afca63
Modernize code (clang-tidy -checks='-*,modernize-use-equals-*')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 09:02:57 +01:00
Stefan Weil
2a83c4a898
Modernize code (clang-tidy -checks='-*,modernize-use-emplace')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 09:02:57 +01:00
Stefan Weil
a54dc6390d
Modernize code (clang-tidy -checks='-*,modernize-use-auto')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 09:02:57 +01:00
Stefan Weil
77ed2886a7
Modernize code (clang-tidy -checks='-*,modernize-loop-convert')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 09:02:51 +01:00
Stefan Weil
cb80eb6963
Modernize code (clang-tidy -checks='-*,modernize-use-override')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 09:02:13 +01:00
Stefan Weil
7bada4e629
Add braces to single line statements (clang-tidy -checks='-*,google-readability-braces-around-statements')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 09:02:13 +01:00
Stefan Weil
d4d51910e1
Add braces to single line statements (clang-tidy -checks='-*,google-readability-braces-around-statements')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-22 09:02:13 +01:00
Egor Pugin
205cd32184
Merge pull request #3351 from stweil/master
...
Modernize code using clang-tidy
2021-03-22 00:43:47 +03:00
Stefan Weil
5384aa7b21
Modernize code (clang-tidy -checks='-*,modernize-use-equals-delete')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-21 21:45:56 +01:00
Stefan Weil
406233f1ae
Modernize code (clang-tidy -checks='-*,modernize-use-equals-default')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-21 21:45:56 +01:00
Stefan Weil
27293fad62
Modernize code (clang-tidy -checks='-*,modernize-use-emplace')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-21 21:45:55 +01:00
Stefan Weil
6fc31c44f8
Modernize code (clang-tidy -checks='-*,modernize-use-bool-literals')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-21 21:45:55 +01:00
Stefan Weil
35e143ddfc
Modernize code (clang-tidy -checks='-*,modernize-use-auto')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-21 21:45:55 +01:00
Stefan Weil
1439efa734
Modernize code (clang-tidy -checks='-*,modernize-make-unique')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-21 21:45:55 +01:00
Stefan Weil
02774bda6e
Modernize code (clang-tidy -checks='-*,modernize-loop-convert')
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-21 21:45:55 +01:00
Stefan Weil
719dc1d7da
Modernize code using override
...
The modifications were made using this command:
run-clang-tidy -header-filter='.*' -checks='-*,modernize-use-override' -fix
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-21 20:06:38 +01:00
Stefan Weil
187ac4136a
Fix LGTM alert (local variable hides a parameter)
...
LGTM alert:
Local variable 'correct_text' hides a parameter of the same name.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-21 18:20:13 +01:00
Egor Pugin
7d17b72ba5
Use more smart pointers.
2021-03-21 15:19:21 +03:00
Egor Pugin
2071430b28
Merge pull request #3350 from stweil/master
...
Fix compiler warnings (mostly -Wsign-compare)
2021-03-21 13:22:22 +03:00
Stefan Weil
0c20d3f843
Fix compiler warnings (mostly -Wsign-compare)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-21 09:29:34 +01:00
Egor Pugin
c7653bf59f
Merge pull request #3349 from stweil/master
...
Disable most Leptonica messages for tesseract by default
2021-03-20 22:47:11 +03:00
Stefan Weil
55d87f642c
Disable most Leptonica messages for tesseract by default
...
They were disabled in earlier builds which used NDEBUG, too.
Allow manual setting of the Leptonica message level
with environment variable LEPT_MSG_SEVERITY.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-20 20:16:16 +01:00
Stefan Weil
19afcdb79b
Remove unused function UnicharIdArrayUtils::find_in
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-20 15:51:28 +01:00
Stefan Weil
7af5b75b8f
Disable unused WriteMemoryCallback if libcurl is not used
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-20 15:49:06 +01:00
Egor Pugin
db7a977eab
Use smart pointers.
2021-03-20 16:04:45 +03:00
Egor Pugin
69ab5bbf65
Misc.
2021-03-20 16:04:00 +03:00
Stefan Weil
f176e7c274
Fix double free caused by commit f33e80e
(fixes issue #3348 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-20 12:37:56 +01:00