Stefan Weil
b5ee0816da
Merge pull request #3935 from nicholasz2510/main
...
Update README.md
2022-10-03 04:40:04 +02:00
Stefan Weil
aee19fcf8e
Merge pull request #3930 from jeroen/patch-1
...
Fix tesseract.pc from cmake to match autotools
2022-09-23 12:26:21 +02:00
Jeroen Ooms
9ac78f94d9
Fix tesseract.pc from cmake to match autotools
2022-09-23 12:21:15 +02:00
Amit D
1d07dfdd94
Update .mailmap
2022-09-22 01:45:15 +03:00
Amit D
3559ff7e67
Create .mailmap ( #3910 )
2022-09-03 18:40:31 +03:00
Amit D
f2952c5445
Update README.md
2022-09-02 19:59:49 +03:00
Amit D
672e784ef4
Update README.md
2022-09-02 19:51:44 +03:00
Amit D
fb63d9acb8
Update README.md
2022-09-02 19:33:52 +03:00
Nick Zhang
d73075ea63
Update README.md
2022-08-30 20:21:32 -06:00
Amit D
cb5174aecc
Update appveyor.yml
2022-08-28 19:04:19 +03:00
Amit D
47485fe9ab
appveyor.yml: Add files filter
2022-08-28 08:42:30 +03:00
Stefan Weil
b7d7b85834
Add missing .exe for training tools to fix build with msys2
...
Fixes: 8c573e4cef
("autotools: Add rule for svpaint executable")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-08-25 14:34:19 +02:00
Amit D
c7a2753da0
Update codeql-analysis.yml
...
Add build files to the paths filter.
2022-08-25 08:59:48 +03:00
Amit D
d74915954c
Update codeql-analysis.yml [skip ci]
...
Add paths filter.
2022-08-23 14:08:53 +03:00
Amit D
e37ea5f07c
Update README.md
2022-08-23 10:51:45 +03:00
Egor Pugin
444a17d9c6
Merge pull request #3908 from tesseract-ocr/amitdo-sw-paths
...
SW CI: Add paths filter
2022-08-21 18:33:26 +03:00
Amit D
735bb7e513
SW CI: Add paths filter
2022-08-21 18:00:09 +03:00
Stefan Weil
0b92409cf3
Merge pull request #3907 from ffontaine/main
...
configure.ac: fix build on aarch64_be
2022-08-21 11:08:41 +02:00
Fabrice Fontaine
cffb8a36a9
configure.ac: fix build on aarch64_be
...
Fix the following build failure on aarch64_be:
/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/10.3.1/../../../../aarch64_be-none-linux-gnu/bin/ld: ./.libs/libtesseract.so: undefined reference to `tesseract::IntSimdMatrix::intSimdMatrixNEON'
Fixes:
- http://autobuild.buildroot.org/results/b9246a37fcf6be4fabfc491daddadfb09e0a320a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2022-08-21 10:21:43 +02:00
Amit D
896ff2a793
Update msys2.yml [skip ci]
...
Split build and install step to 4 steps.
2022-08-21 10:56:02 +03:00
Amit D
778dfc6933
CI: Remove Ubuntu 18.04 ( #3902 )
...
Reason: https://github.com/actions/runner-images/issues/6002
I still keep Ubuntu 18.04 in autotools CIs for now.
[skip ci]
2022-08-17 17:51:31 +03:00
Amit D
76fcb61ad8
unittest-macos.yml: Use macOS 12 instead.of 10.15
...
Reason: https://github.com/actions/runner-images#5583
[skip-ci]
2022-08-16 17:41:00 +03:00
Amit D
fac690462b
autotools-macos.yml: Remove macOS 10.15
...
Reason: https://github.com/actions/runner-images/issues/5583
Use macOS 12 instead.
2022-08-16 12:40:08 +03:00
Stefan Weil
0daf18c202
Detect availability of AVX512-VNNI
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-08-06 11:23:06 +02:00
Zdenko Podobný
15200c6fe7
GA cmake-win64: use webp v1.2.3 as new code requires libsharpyuv
2022-08-04 15:46:27 +02:00
Amit D
94b9ca4343
cmake.yml: Remove macOS 10
...
https://github.com/actions/virtual-environments/issues/5583
2022-08-04 05:32:23 +03:00
Egor Pugin
1c4c0b00e4
Merge pull request #3888 from arseniy-sonar/patch-1
...
Fix the build on CodeQL/Analyze
2022-08-02 14:50:38 +03:00
Arseniy Zaostrovnykh
749c90d92e
Fix the build on CodeQL/Analyze
2022-08-02 13:04:31 +02:00
Egor Pugin
f827e251d2
Update sw.cpp
2022-07-29 13:58:03 +03:00
Egor Pugin
4c92a58afb
[sw] Do not link pthread on android.
2022-07-26 23:33:30 +03:00
Egor Pugin
4de02dd7f9
[sw] Add svpaint.
2022-07-25 22:02:54 +03:00
Egor Pugin
5781e0d5cf
[sw] Add missing file for arm64. Change branch name.
2022-07-25 21:53:39 +03:00
Egor Pugin
74e226b228
Merge pull request #3878 from stweil/exit
...
Replace call of exit function by return statement in main function
2022-07-21 00:36:59 +03:00
Stefan Weil
989956c998
Replace call of exit function by return statement in main function
...
Add also a missing return statement and use EXIT_FAILURE
and EXIT_SUCCESS instead of 1 and 0 as return values.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-07-20 20:32:27 +02:00
Stefan Weil
ee34b100bf
Fix double free in function vigorous_noise_removal (fixes issue #3876 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-07-19 09:29:58 +02:00
Stefan Weil
99d6717c10
Create to_win if needed in Textord::make_spline_rows (fixes issue #3875 )
...
There still remain memory leaks for the test scenario, but those are less
urgent as they are related to code which is only used for debugging.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-07-19 08:45:22 +02:00
Stefan Weil
8c573e4cef
autotools: Add rule for svpaint executable ( #3873 )
...
Move also its source code svpaint.cpp from src/viewer/ to src/,
so it is no longer included in libtesseract by the cmake build.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-07-19 00:50:01 +03:00
Stefan Weil
e589bfa58b
Merge pull request #3872 from p12tic/fix-scrollview-double-free (fixes issue #3869 )
...
Fix memory issues in ScrollView::MessageReceiver.
2022-07-18 17:36:04 +02:00
Povilas Kanapickas
0107687a9b
viewer: Use std::unique_ptr in event_table_ data structure
2022-07-18 18:04:31 +03:00
Povilas Kanapickas
9a74c4ccad
viewer: Use std::unique_ptr in waiting_for_events data structure
...
The current usage of waiting_for_events is taking ownership of SVEvent
pointer from a unique_ptr. This is error prone as all code paths using
waiting_for_events need to ensure deletion. We fix it by using
unique_ptr in waiting_for_events and all dependent code paths.
2022-07-18 18:04:30 +03:00
Povilas Kanapickas
4f831ff489
viewer: Fix double free caused by ScrollView::MessageReceiver
...
waiting_for_events takes ownership of the passed event which is later
deleted. Since we use unique_ptr::get() to acquire the pointer, we cause
double free: one free happens in the code path where the event from
waiting_for_events goes and the other free happens in unique_ptr
destructor.
The fix is to move ownership out of unique_ptr by unique_ptr::release().
Fixes: https://github.com/tesseract-ocr/tesseract/issues/3869
Fixes: 37b33749da
2022-07-18 18:04:29 +03:00
Stefan Weil
02e834000c
Catch potential nullptr in SVNetwork::SVNetwork
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-07-18 13:52:39 +02:00
Egor Pugin
87dd04fe26
[ci][sw] Disable nightly macos tests.
2022-07-11 19:48:10 +03:00
zdenop
ca9ab49758
Update cmake.yml
...
clang-11 does not seem to work on macos
2022-07-10 20:34:59 +02:00
Egor Pugin
677f5822f2
Update sw.yml
2022-07-07 20:14:08 +03:00
Stefan Weil
5ad5325a0a
Create new release 5.2.0
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-07-06 22:15:49 +02:00
Stefan Weil
b8b6c158a7
Mark parameter 'tessedit_do_invert' as deprecated
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-06-26 19:27:48 +02:00
Stefan Weil
96861b58ae
Add new parameter for invert_threshold ( #3852 )
...
Change default value from 0.5 to 0.7.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-06-26 12:32:56 +03:00
Daniel Plakhotich
0df584e65d
capi: Fix calling delete[] for memory allocated by malloc
2022-06-23 17:08:45 +02:00
zdenop
38c8c76c34
Merge pull request #3775 from Shreeshrii/disableopenmp
...
Add benchmark test with disable-openmp
2022-06-23 16:45:23 +02:00