Commit Graph

3686 Commits

Author SHA1 Message Date
Zdenko Podobný
4ef51d8bc0 Merge branch 'master' of https://github.com/tesseract-ocr/tesseract 2018-11-12 12:54:33 +01:00
Ray Smith
ce88adbf32 fix issue #1192 2018-11-12 12:53:12 +01:00
zdenop
de3734a0f4
Merge pull request #2046 from stweil/tests
Update test submodule
2018-11-09 09:18:00 +01:00
Stefan Weil
fae47eb876 Update test submodule
This is needed to include the moved langtests and unlvtests.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-11-09 08:18:19 +01:00
zdenop
724957167e fix typo in non VS build 2018-11-08 23:10:14 +01:00
zdenop
eb104f9fe4 VS build: fix warning C4996: The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name. 2018-11-08 22:55:04 +01:00
zdenop
cdfb768010 move langtests and unlvtests from tesseract-ocr repository to test repository 2018-11-08 22:31:32 +01:00
zdenop
cbef2ebe12 implement patches vcpkg tesseract 2018-11-08 21:37:47 +01:00
zdenop
7a7f226228 ocrclass: Remove unused macros
Signed-off-by: Stefan Weil <sw@weilnetz.de>

# Conflicts:
#	src/ccutil/ocrclass.h
2018-11-08 20:23:36 +01:00
zdenop
28df28123e Merge branch 'master' of https://github.com/tesseract-ocr/tesseract 2018-11-08 19:44:22 +01:00
Zdenko Podobný
2dd753ee4c replace VS implementation of gettimeofday with std::chrono::steady_clock::now(); fixes #2038 2018-11-08 19:43:46 +01:00
zdenop
39e5fe15ff
Merge pull request #2044 from stweil/tests
Remove dummy test
2018-11-08 19:30:12 +01:00
Stefan Weil
f4ec5beedc Remove dummy test
This reverts commit 99755b0732.
The dummy test is no longer needed as there exist a lot of real tests now.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-11-08 18:53:15 +01:00
zdenop
7e27f78752
Merge pull request #2043 from stweil/copying
Remove redundant file COPYING
2018-11-08 15:25:47 +01:00
Stefan Weil
73cefff3a1 Include LICENSE file in distribution
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-11-08 15:14:59 +01:00
Stefan Weil
6184892905 Remove redundant file COPYING
Most of the information was already in README.md.
Add the missing hint for Leptonica, too, so the file can now be removed.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-11-08 13:16:39 +01:00
Egor Pugin
361f32641a
Merge pull request #2040 from stweil/docker
Update Dockerfile
2018-11-04 01:39:08 +03:00
Stefan Weil
ad30f52eed Dockerfile: Delete the apt-get lists after installing
This fixes an issue reported by Codacy and Hadolint.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-11-02 19:36:19 +01:00
Stefan Weil
0869fdfd16 Dockerfile: Replace deprecated MAINTAINER by LABEL
This fixes an issue reported by Codacy and Hadolint.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-11-02 19:36:19 +01:00
Egor Pugin
f4a34e6ddf
Merge pull request #2039 from chrismamo1/chore/cleanup-compiler-warnings
fix a couple minor compiler warnings
2018-10-31 13:30:45 +03:00
chrismamo1
439dfaaf8b un-fix one of the warnings 2018-10-30 18:10:48 -06:00
chrismamo1
30be5aaaac fix a couple minor compiler warnings 2018-10-30 18:00:32 -06:00
Egor Pugin
c8404d63cf
Merge pull request #2037 from joelgallant/cmake-fixes
Uses CMAKE_CURRENT_ variables instead of CMAKE_ variables
2018-10-31 01:41:50 +03:00
Joel Gallant
422d1ca25a Uses CMAKE_CURRENT_ variables instead of PROJECT_ 2018-10-30 12:58:50 -06:00
Joel Gallant
58328405ec Adjusts CMAKE_MODULE_PATH instead of the include()'s 2018-10-30 12:51:09 -06:00
Joel Gallant
a4cb790e1d Reverts change on EXECUTABLE_OUTPUT_PATH 2018-10-30 12:27:34 -06:00
Joel Gallant
e87dc5b1f2 Uses PROJECT_ variables instead of CMAKE_ variables so it can be included using add_subdirectory 2018-10-30 12:00:32 -06:00
zdenop
3ac33d59ae
Merge pull request #2033 from stweil/unused
Remove unused code
2018-10-29 20:45:10 +01:00
Stefan Weil
6f8bd340d9 Remove chopper.h
It is no longer needed after some reordering of code in chopper.cpp.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-29 19:51:44 +01:00
Stefan Weil
286dfb031a Remove unused include statements
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-29 19:46:58 +01:00
Stefan Weil
2098bb6daf Remove unused function ComputeOrientation
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-29 19:43:56 +01:00
Stefan Weil
cad6ebb5ff LIST: Remove old comments
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-29 19:43:56 +01:00
zdenop
2a2bc8afd7
Update README.md 2018-10-29 10:03:16 +01:00
zdenop
51316994cc 4.0.0 Release 2018-10-29 09:53:12 +01:00
Zdenko Podobný
ba64aaf257 add lstmdebug config to distribution and installation process 2018-10-29 09:38:11 +01:00
zdenop
cca2f75391
Merge pull request #2031 from stweil/config
Add debug configuration for LSTM
2018-10-27 09:53:22 +02:00
Stefan Weil
125fdc3f1b Add debug configuration for LSTM
It was provided by Jeff Breidenbach <jbreiden@google.com>.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-27 08:04:45 +02:00
Zdenko Podobný
1066f696dd Release candidate 4 2018-10-24 08:51:02 +02:00
zdenop
99054f10c7
Merge pull request #2027 from stweil/warn
Fix compiler warning
2018-10-24 07:31:15 +02:00
zdenop
981db8155d
Merge pull request #2026 from noahmetzger/master
Fixed a mac compiler warning in recodebeam.cpp
2018-10-23 18:20:21 +02:00
Stefan Weil
eefb8348f7 Fix compiler warning
Compiler warning on macOS:

    tesscallback.h:29:7: warning:
      'TessClosure' has no out-of-line virtual method definitions;
      its vtable will be emitted in every translation unit [-Wweak-vtables]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-23 17:01:53 +02:00
Noah Metzger
f7f5f41073 Fixed a mac compiler warning in recodebeam.cpp
Signed-off-by: Noah Metzger <noah.metzger@bib.uni-mannheim.de>
2018-10-23 16:57:39 +02:00
zdenop
e60318f9c0 set PANGOCAIRO_BACKEND=fc to avoid crash; fixes #736 2018-10-23 13:22:38 +02:00
Zdenko Podobný
3d508a65a7 set unlv_tilde_crunching to false; fixes #1449 #948 2018-10-23 09:26:32 +02:00
zdenop
5a68b7f41b
Merge pull request #2022 from stweil/coverity
Fix several issues reported by Coverity Scan
2018-10-22 22:32:36 +02:00
Stefan Weil
7ebbb7370a ColPartition: Fix CID 1164543 (Division or modulo by float zero)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-22 22:14:15 +02:00
Stefan Weil
eaabe4a3ce ErrorCounter: Fix CID 1164538 (Division or modulo by float zero)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-22 22:14:15 +02:00
Stefan Weil
8f615d44f1 osdetect: Fix CID 1164539 (Division or modulo by float zero)
Avoid also a conversion from int16_t to double to float.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-22 22:14:15 +02:00
zdenop
69a2e94bc5
Merge pull request #2021 from stweil/lgtm
tesseractmain: Fix memory leak
2018-10-22 18:56:57 +02:00
Stefan Weil
be0cf03778 tesseractmain: Fix memory leak
Commit 49d7df6dc3 introduced a memory leak
when the output file could not be created.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-22 18:50:47 +02:00