Stefan Weil
7bd94a9354
Remove old code for no longer existing src/api/*.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 12:47:04 +01:00
Egor Pugin
9e324938ab
Update includes to use <>.
2019-10-29 14:31:38 +03:00
Stefan Weil
629b05d978
Update README.md and other documentation for new include file structure
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 12:26:41 +01:00
Stefan Weil
7ef20bb0e6
Use flat make for include/tesseract
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 12:01:51 +01:00
Stefan Weil
061eccd6ae
Rename tesseract/tess_version.h -> tesseract/version.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 11:47:31 +01:00
Egor Pugin
301704b3a3
Merge branch 'master' of github.com-egorpugin:tesseract-ocr/tesseract
2019-10-29 13:29:48 +03:00
Egor Pugin
8d10857973
Update sw build.
2019-10-29 13:27:12 +03:00
Stefan Weil
0481cebfd9
Support sw build with new include file structure
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 11:14:37 +01:00
Egor Pugin
aeb98d9ff2
Merge pull request #2735 from amitdo/move-headers2
...
Move all public headers to include/tesseract
2019-10-29 12:36:40 +03:00
Stefan Weil
26ba7e2f81
Fix #include path of public headers for unittest
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 08:41:47 +01:00
Stefan Weil
17b0951736
Support cmake with new include file structure
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 08:33:55 +01:00
amitdo
2f8884a64e
Fix autotools build
2019-10-28 21:23:58 +02:00
amitdo
e1bae15547
Fix #include path of public headers
2019-10-28 19:10:30 +02:00
amitdo
dfede8ac01
Move all public headers to include/tesseract
2019-10-28 18:50:31 +02:00
zdenop
cede5b34e7
Add pageseg_apply_music_mask option to allow disabling the musi… ( #2732 )
...
Add pageseg_apply_music_mask option to allow disabling the music mask
2019-10-27 17:02:05 +01:00
zdenop
4a37cde0d9
fix inverting (Bilevel BW png) in pdf; fixes # 2059
2019-10-27 14:15:12 +01:00
Nat
52bc15acd9
Add pageseg_apply_music_mask option to allow disabling the music mask
2019-10-24 11:44:05 -05:00
Egor Pugin
048f729785
Merge branch 'master' of github.com-egorpugin:tesseract-ocr/tesseract
2019-10-23 23:30:12 +03:00
Egor Pugin
401e60c54c
Merge pull request #2728 from egorpugin/master
...
Remove TESS_CALL.
2019-10-23 23:29:38 +03:00
Shree
df6b1ce452
remove legacy parameter disable_character_fragments from lstm.train
2019-10-23 13:15:16 +02:00
Egor Pugin
c727b556f0
Remove unneeded TESS_API from source file.
2019-10-23 13:26:46 +03:00
Egor Pugin
e2688c39e9
Remove TESS_CALL.
2019-10-23 13:21:59 +03:00
wshwang
4ee95a615a
src/ccutil/bits16.h remove warnings ( #2726 )
2019-10-23 11:46:24 +02:00
wshwang
71e291bae5
Remove warning C4312
2019-10-22 13:06:44 +02:00
zdenop
fc629eae3b
Subject: training: show error description for open/delete file
2019-10-21 16:31:57 +02:00
Stefan Weil
90bcff3732
Delete copy constructor and assignment operator for TessBaseAPI (fix issue #874 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-21 13:12:36 +02:00
zdenop
c2775832de
Merge branch 'master' of https://github.com/tesseract-ocr/tesseract
2019-10-20 22:17:23 +02:00
zdenop
3762feb200
Provide more details for sucessfull running of unittests.
2019-10-20 22:15:21 +02:00
Stefan Weil
a209a6b4b5
Copy resolution of source image (fix issue #1702 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-20 20:45:35 +02:00
Stefan Weil
8be2346c4c
Fix typo in README.md (found by codespell)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-20 18:13:22 +02:00
zdenop
3a5c107345
Merge branch 'master' of https://github.com/tesseract-ocr/tesseract
2019-10-20 16:43:42 +02:00
zdenop
36dc2ccf75
fix memory leak at PangoFontInfo::CanRenderString
2019-10-20 16:43:04 +02:00
Egor Pugin
59e16daf93
Merge pull request #2718 from hyeongukryu/patch-1
...
Change from HTTP to HTTPS
2019-10-19 16:55:57 +03:00
Hyeonguk Ryu
508a965b32
Change from HTTP to HTTPS
2019-10-19 22:41:29 +09:00
zdenop
1ec34378d9
test for synthesized font faces.
2019-10-19 15:05:28 +02:00
zdenop
cbbe45d94b
cmake: add minimum required version for pango and icu based on autotools
2019-10-19 15:00:49 +02:00
zdenop
37c7a5dd82
text2image: show pango version
2019-10-19 14:52:06 +02:00
Stefan Weil
73a38b39d5
quadlsq: Fix warnings from LGTM
...
Fix two occurrences of this LGTM warning:
Multiplication result may overflow 'double'
before it is converted to 'long double'.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-18 12:07:54 +02:00
Stefan Weil
22cf0f854d
Use "C" locale for PDF output
...
This fixes wrong output of integers with locale de_DE.UTF-8:
- /Width 2.481
- /Height 3.508
+ /Width 2481
+ /Height 3508
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-18 11:30:42 +02:00
Stefan Weil
914a8e40d6
Use "C" locale for ALTO output
...
This fixes wrong output of integers with locale de_DE.UTF-8:
- <Page WIDTH="2.481" HEIGHT="3.508" PHYSICAL_IMG_NR="0" ID="page_0">
+ <Page WIDTH="2481" HEIGHT="3508" PHYSICAL_IMG_NR="0" ID="page_0">
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-18 11:18:27 +02:00
Stefan Weil
3e8cc203f4
Fix build error (undefined local variable)
...
The latest commit 96025c7923
was incomplete.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-18 11:05:31 +02:00
Egor Pugin
d24c16f767
Merge pull request #2715 from stweil/params
...
Remove unimplemented +/- for parameter files
2019-10-17 22:18:04 +03:00
Stefan Weil
96025c7923
Remove unimplemented +/- for parameter files
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-17 17:14:43 +02:00
zdenop
a3cfd66f37
do not exit if not existing parameter is used. fixes #1334
2019-10-15 07:56:22 +02:00
zdenop
0150fc57cc
Report when tesseract legacy engine not present. (fix issue #2053 )
2019-10-14 22:55:47 +02:00
Egor Pugin
247cd0edc4
Merge pull request #2705 from stweil/title
...
Add new parameter "document_title" to set the title in OCR output files
2019-10-11 02:23:36 +03:00
Egor Pugin
fb52f43822
Fix isolated build.
2019-10-11 00:46:23 +03:00
Stefan Weil
a1e3150bd7
Add new parameter "document_title" to set the title in OCR output files
...
The title can be set for hOCR and PDF output.
Currently it is also used for ALTO, so setting the title can be used
as a workaround for issue #2700 .
The constant unknown_title_ is no longer needed and therefore removed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-10 15:42:52 +02:00
Egor Pugin
8b694b8a71
Merge pull request #2694 from stweil/master
...
sw.cpp: Sync list of public headers with Autotools build
2019-10-07 00:16:12 +03:00
Stefan Weil
1012252004
sw.cpp: Sync list of public headers with Autotools build
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-06 22:30:36 +02:00