Commit Graph

6203 Commits

Author SHA1 Message Date
zdenop
bbc2dfcfe1 cmake: add missing HAVE_NEON to config_auto.h 2023-03-27 19:23:18 +02:00
zdenop
de6d99db7d Merge branch 'main' of https://github.com/tesseract-ocr/tesseract 2023-03-27 19:22:39 +02:00
zdenop
8045cbb7c9 cmake: adjust build to autotool settings 2023-03-27 19:22:28 +02:00
zdenop
4c59535e48 cmake: adjust build to autotool settings 2023-03-27 19:20:51 +02:00
zdenop
a0708eaff2 Merge branch 'main' of https://github.com/tesseract-ocr/tesseract 2023-03-27 19:20:16 +02:00
zdenop
426ed87c97 cmake: improve NEON build 2023-03-27 19:20:11 +02:00
Stefan Weil
c7a55c1ec1 Fix some typos (partially found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-03-24 22:39:28 +01:00
Stefan Weil
1569e50808 textord: Catch empty rows in block iterator (fixes #4039)
When textord_blockndoc_fixed was set to 1 empty rows caused a segmentation
fault. Test also textord_blockndoc_fixed first because it is typically 0.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-03-24 15:51:40 +01:00
zdenop
691de2b945 cmake: sync with autotools (OPENMP_SIMD, fast-math) 2023-03-23 20:21:34 +01:00
zdenop
484d427c67 cmake: improve style 2023-03-23 20:20:51 +01:00
Zdenko Podobný
f779c434b0 cmake: disable "-march=native" by default 2023-03-23 12:55:51 +01:00
Amit D
a6e0aa7f48
Update issue-bug.yml 2023-03-16 10:41:27 +02:00
Amit D
a7e51c2e33
Update issue-bug.yml 2023-03-16 10:13:29 +02:00
Amit D
19fe1a6785
autotools.yml: Update compilers 2023-03-10 13:56:36 +02:00
Amit D
c38471b90d
Update cmake.yml
G++ 8 is not installed by default on Ubuntu 20.04.
2023-03-10 13:22:36 +02:00
Amit D
3245322d3d
Update cmake.yml 2023-03-08 15:21:51 +02:00
Amit D
2aed93fa69
cmake.yml: Update compilers 2023-03-08 15:16:15 +02:00
Ger Hobbelt
98e61a7e10
Improve the DebugDump output by slightly adjusting the format. (#4022)
* Improve the DebugDump output by slightly adjusting the format for the numeric columns, which was 3,3,3,3 and overflowing in our test runs, damaging the table layout. See rationale in the code comment:

------

  // The largest (positive and negative) numbers are reported for lindent & rindent.
  // While the column header has widths 5,4,4,5, it is therefore opportune to slightly
  // offset the widths in the format string here to allow ample space for lindent & rindent
  // while keeeping the final table output nicely readable: 4,5,5,4.

# Conflicts:
#	src/ccmain/paragraphs.cpp

* comment fix, pointed out by @stweil
2023-03-06 15:42:43 +02:00
tooomm
ae3bfec757
Link to list of supported languages in docs (#4027)
Addresses https://github.com/tesseract-ocr/tessdoc/issues/83
2023-03-06 11:25:42 +02:00
zdenop
0977ded2b3
Update autotools.yml
gcc 7 does not implement all of C++17
2023-03-05 14:28:53 +01:00
zdenop
066fc2e11c
Update cmake.yml
gcc 7 does not implement all of C++17
2023-03-03 18:54:23 +01:00
zdenop
79065a03a3
Update cmake.yml
fix cmake GA
2023-03-01 12:44:17 +01:00
Zdenko Podobný
9d71da7854 Merge branch 'main' of https://github.com/tesseract-ocr/tesseract 2023-02-10 12:13:26 +01:00
zdenop
392e56cd87
Update cmake.yml
libarchive is broken on macos: https://github.com/libarchive/libarchive/issues/1819
2023-02-10 12:12:38 +01:00
Zdenko Podobný
9bac701d5e cmake: fix gcc-7 fatal error: filesystem: No such file or directory 2023-02-10 09:51:59 +01:00
Stefan Weil
f1e3697dd4 Fix some typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-02-08 20:51:58 +01:00
Egor Pugin
0221094275
Merge pull request #4015 from stweil/spelling
Replace 'can not' by 'cannot'
2023-02-08 22:02:06 +03:00
Stefan Weil
1e04be842d Replace 'can not' by 'cannot'
Both forms are used in American English, but 'cannot' is more common
(also in Tesseract code), so use it always.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-02-08 17:34:22 +01:00
zdenop
7becbbd627
Update cmake-win64.yml 2023-02-07 15:11:00 +01:00
Egor Pugin
efa89c6dfa
Merge pull request #4013 from ferdnyc/patch-1
Fix libdir in tesseract.pc from CMake
2023-02-03 14:23:43 +03:00
Frank Dana
5e116fa5ca
Fix libdir in tesseract.pc from CMake
tesseract.pc.cmake was hardcoding libdir to
`{prefix}/lib`, which is wrong for systems that use
`/usr/lib64/` on 64-bit. `CMAKE_INSTALL_LIBDIR`
is already expected to contain the libdir path
relative to the install prefix.
2023-02-02 19:57:59 -05:00
autoantwort
1c09782354
msvc debug: fix wrong lib name in generated pkgconfig file (#4008) 2023-01-31 15:30:45 +01:00
Egor Pugin
e3fb0c657d
Merge pull request #4009 from kraj/gcc13
Fix build with gcc 13 by including <cstdint>
2023-01-30 23:11:06 +03:00
Khem Raj
2025b53de6 Fix build with gcc 13 by including <cstdint>
gcc 13 moved some includes around and as a result <cstdint> is
no longer transitively included [1]. Explicitly include it for
int32_t.

[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-30 11:28:24 -08:00
zdenop
a3b9acfa4a
Merge pull request #4006 from autoantwort/fix-linkage
Fix linkage of icu and pango
2023-01-28 15:41:48 +01:00
Leander Schulten
680d1e231c Fix linkage of icu and pango 2023-01-28 04:19:45 +01:00
Stefan Weil
3bedea1bdd Fix FP division by zero in LanguageModel::ExtractFeaturesFromPath (issue #3995)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-01-20 16:45:09 +01:00
Stefan Weil
1852afe9f8 Remove unneeded type cast in LanguageModel::ExtractFeaturesFromPath
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-01-20 16:45:09 +01:00
Stefan Weil
4142b32815 Fix some whitespace issues in source code and text files
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-01-19 18:31:06 +01:00
Egor Pugin
2a7ed8b6a5
Merge pull request #3992 from seupedro/patch-1
Update README.md
2023-01-14 22:46:00 +03:00
Seu Pedro
1851e5a1c4
Update README.md
Added a link explaining what an OCR Engine is
2023-01-14 15:37:22 -03:00
zdenop
0ef192050a fix "cannot pass non-trivial object of type 'std::string'" 2023-01-08 19:13:48 +01:00
zdenop
804b63646f show out filename on successful created of traineddata (combine_lang_model) 2023-01-08 18:30:31 +01:00
zdenop
005bfe4950 fix "cannot pass non-trivial object of type 'std::string'" 2023-01-06 18:34:16 +01:00
zdenop
8a26329623 unicharset_extractor:
- run ReadMemBoxes only for box files
- do not write unicharset in case of broken box file
2023-01-06 15:52:42 +01:00
Amit D
da3737d371
Update issue-bug.yml 2023-01-05 11:03:20 +02:00
Amit D
a0f06e20b4
Update issue-bug.yml 2023-01-05 10:45:22 +02:00
Amit D
65b8a3b019
Update issue-bug.yml 2023-01-05 10:37:15 +02:00
Amit D
dbedbad20d
Update issue-bug.yml 2022-12-27 18:36:06 +02:00
Amit D
95e84735d5
Update issue-bug.yml 2022-12-27 11:52:28 +02:00