Stefan Weil
94d0f77f56
Don't create an empty lstmf file
...
If Tesseract cannot find text in the input image, it should not write
an empty lstmf file. This problem was reported in issue #2741 .
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-11-01 21:43:26 +01:00
maungd@battelle.org
3d7afb69ea
Exposed the text2image option --ptsize to tesstrain.sh. Text2image has the
...
option --ptsize which defaults to 12. This option is not exposed through
tesstrain.sh; thus, you cannot use tesstrain.sh to explore training with
different font sizes. I made a small modification to expose the --ptsize
option to tesstrain.sh. It defaults to 12 if not specified.
2019-11-01 15:10:58 -04:00
zdenop
6f31c3b849
Merge branch 'master' of https://github.com/tesseract-ocr/tesseract
2019-11-01 09:29:10 +01:00
zdenop
dbcff0ae88
cmake: fix clan openmp build on windows
2019-11-01 09:28:51 +01:00
zdenop
a5716692b2
cmake: allow build on Raspbian GNU/Linux 9 (stretch)
2019-11-01 09:28:08 +01:00
Egor Pugin
0d96ff3617
Merge pull request #2740 from stweil/master
...
Use pre-calculated lookup tables for all C++ compilers
2019-11-01 01:13:42 +03:00
Egor Pugin
92e543538a
Update .travis.yml
2019-11-01 00:47:36 +03:00
Stefan Weil
b5498c70fa
Use pre-calculated lookup tables for all C++ compilers
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-31 20:26:01 +01:00
Egor Pugin
2bcc9d8093
Remove cppan build.
2019-10-30 21:37:38 +03:00
Stefan Weil
ca87b06d59
Fix build for Intel Compiler (issue #2736 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-30 10:09:44 +01:00
Stefan Weil
20a50e9bcb
Fix typo in comment
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-30 10:06:31 +01:00
Stefan Weil
6a3df91edf
Update cppan build for new include file structure
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 18:09:08 +01:00
Stefan Weil
e3e7a9bf33
Use #include <tesseract/*.h> for unittest
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 18:01:18 +01:00
Egor Pugin
c7c250c8b4
Add include dir explicitly.
2019-10-29 14:57:32 +03:00
Egor Pugin
2a37f5dd62
Update includes to use <>.
2019-10-29 14:50:11 +03:00
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