Stefan Weil
3420acabe5
text2image: Add linefeed to error message
...
This changes the error message for a missing font from
Could not find font named Times New Roman.Please correct --font arg.
(missing space after first sentence) to
Could not find font named Times New Roman.
Please correct --font arg.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-08-28 21:33:52 +02:00
Stefan Weil
34ed8ddf62
stringrenderer: Fix compiler warning (-Wwrite-strings)
...
gcc reported this warning:
../training/stringrenderer.cpp:
In member function ‘void tesseract::StringRenderer::SetLayoutProperties()’:
../training/stringrenderer.cpp:211:42: warning:
ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
set_features("liga, clig, dlig, hlig");
^
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-08-28 14:07:03 +02:00
zdenop
939023ffb9
Merge pull request #391 from vidiecan/issue_390
...
fixed #390 by introducing new rotate_image flag
2016-08-15 20:04:30 +02:00
jm
b69561c802
fixed #390 by introducing new rotate_image flag
2016-08-15 18:16:35 +02:00
jm
941e1c4c84
fixes #388 by using raw bytes utf8 encoding
2016-08-15 18:11:01 +02:00
jm
8d2d94e4ed
fixes some of the windows issue with text2image, see #380
2016-08-05 20:11:01 +02:00
zdenop
5ca73cca26
Merge pull request #355 from amitdo/pango-name-is-empty
...
Check that pango's suggested font name is not an empty string
2016-06-20 10:26:11 +02:00
Stefan Weil
ed053aab94
Fix Cygwin compatibility – part III
...
Commit 65504c8cd2
misplaced the #endif.
The definition of _GNU_SOURCE is only needed for Cygwin.
Defining _GNU_SOURCE on Linux results in compiler warnings because this
macro is already defined by the compiler.
Fix this by moving the #endif to the right place. In addition the code
for Cygwin is made more robust: If a future Cygwin compiler defines
_GNU_SOURCE, too, the code will still work.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-06-19 22:38:03 +02:00
amitdo
724fb894ac
Check that pango's suggested font name is not an empty string
...
On msys2 pango seems to always returns empty string for the suggested
font. It's a good idea to check that the string is not empty before
printing it - on all platforms.
2016-06-19 13:40:17 +03:00
Amit
96720c785d
Merge pull request #351 from amitdo/cygwin-compat
...
Fix Cygwin compatibility
2016-06-19 12:43:35 +03:00
Stefan Weil
65504c8cd2
Fix Cygwin compatibility - Part II
2016-06-19 11:59:58 +03:00
Amit Dovev
13d789d4df
Merge pull request #288 from nickjwhite/opentypeligatures
...
Enable all ligatures available in a font for text2image rendering
2016-06-19 03:33:32 +03:00
Amit Dovev
034d666e7a
Replace use of TLOG_FATAL() with tprintf() and exit(1) ( #349 )
...
Asserts should not be used for missing or invalid input in the command
line! This leads to a bad UX.
2016-06-16 12:10:53 +03:00
Shreeshrii
c3a7fab349
Replace asserts with tprintf() and exit(1)
...
Asserts should not be used for missing or invalid input in the command
line! This leads to a bad UX.
2016-06-14 14:35:05 +03:00
amitdo
cd1a14450c
Training tools: Print help message when (argv == 1)
2016-05-22 11:16:42 +03:00
Zdenko Podobný
cab6de1740
remove unused GlyphLessFont files
2016-05-20 21:19:00 +02:00
Nick White
76ed9decb3
Only enable extra ligatures with recent Pango versions
...
Pango's opentype feature selection functions are only available
from version 1.38+, which is still quite new, so ensure it's just
ignored if using an older version.
2016-03-21 13:03:03 +00:00
Nick White
9100adcbde
Enable all ligatures available in a font for text2image rendering
...
This enables all OpenType ligatures for a specific font, where
available. Specifically, it explicitly enables the OpenType
features liga (standard ligatures), hlig (historical ligatures),
clig (contextual ligatures), and dlig (discretionary ligatures).
This feature requires Pango 1.38 or newer.
2016-03-21 11:41:36 +00:00
Amit Dovev
96c2f637fd
Add missing % char from format specifier in tlog()
...
- In training/ango_font_info.cpp
2016-03-17 01:09:46 +02:00
Egor Pugin
4d4bfb552c
Add inactivity timeout for icu download on windows
2016-03-04 12:34:01 +03:00
Ryan Baumann
bd5452d40c
Add Junicode to neo-Latin fonts
2016-01-13 10:15:57 -05:00
Ryan Baumann
5b40277d08
Use different font list and exposures for "lat" language training
2016-01-04 11:48:02 -05:00
Hamid Safdari
0cd6e17419
correct minor syntax errors language-specific.sh
2015-12-25 09:50:15 +04:30
Egor Pugin
c16c7831a2
Merge branch 'master' of github.com:tesseract-ocr/tesseract
2015-11-30 11:43:18 +03:00
Egor Pugin
f15cd961c6
Download icu on windows to build set_unicharset_properties target.
2015-11-30 11:43:01 +03:00
zdenop
d025616af5
Merge pull request #148 from nickjwhite/tesstrainbetterargs
...
Use shell quoting rather than pluses to separate font arguments in tesstrain.sh
2015-11-27 21:56:40 +01:00
zdenop
359593217b
Merge pull request #149 from nickjwhite/updategrc
...
Add defaults for grc training to language-specific.sh
2015-11-27 21:55:46 +01:00
Stefan Weil
29f36d9264
training: Fix typos in comments and strings
...
All of them were found by codespell.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-11-04 21:58:42 +01:00
Stefan Weil
38f3db8ca5
Fix more typos in comments (found by codespell)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-11-04 21:58:42 +01:00
Nick White
306610c5ec
Use shell quoting rather than pluses to separate font arguments in tesstrain.sh
...
The way tesstrain.sh handled font names was really weird, using '+'
signs as a delimiter. However quoting arguments is a much more
straightforward, standard and sensible way to do things.
So whereas previously one would have used this:
--fontlist Times New Roman + Arial Black
Now they should be specified like this:
--fontlist "Times New Roman" "Arial Black"
2015-10-30 13:26:45 +00:00
zdenop
896db80f26
Merge pull request #108 from johnteslade/unicharset_extractor
...
Unicharset extractor problems with wchar
2015-10-05 21:49:03 +02:00
John Slade
379da1f2e0
training/unicharset_extractor.cpp: Print whether WCTYPE is included
...
Character properties are autogenerated only if wctype is found on the
system. However, it is not possible to know if a version of
unicharset_extractor was compiled with this support (especially if it
was installed as a pre-compiled binary).
This commit adds a print to the usage details to output if the binary
was compiled with wctype support.
2015-10-05 11:54:24 +01:00
Egor Pugin
f369585f56
Merge branch 'master' of github.com:tesseract-ocr/tesseract
2015-10-02 12:02:04 +03:00
Nick White
b389e2782c
Set default exposure settings for grc training
2015-09-11 13:30:05 +01:00
Nick White
ac6050def0
Remove NUMBER_DAWG_FACTOR and WORD_DAWG_FACTOR from grc rules
...
These aren't used anywhere, and are difficult to calculate for grc,
so leave them as the default.
2015-09-11 09:29:55 +01:00
zdenop
b216f6f66b
Merge pull request #92 from nickjwhite/bettertesstrain
...
Improve tesstrain.sh script
2015-09-10 19:00:26 +02:00
Nick White
714d2cc4ae
Use different font list for grc training
...
This font list contains a selection fonts produced by the Greek Font
Society <http://greekfontsociety.gr >, and is the result of testing
with a large corpus of a variety of scanned works.
2015-09-10 15:34:44 +01:00
Nick White
de789ac8ea
Use mktemp to create workspace directory
...
mktemp is a better idea for security, as well as enabling users to
specify a different directory using the TMPDIR environment variable,
which is useful if /tmp is a small tmpfs.
Also fix a bug where the first few log messages were failing as the
workspace directory wasn't been created early enough.
2015-09-10 15:05:07 +01:00
Nick White
c0133ecfa6
Add --exposures option to tesstrain.sh
...
This flag can be used to specify multiple different exposure levels
for a training. There was some code already in tesstrain_utils.sh
to deal with multiple exposure levels, so it looks like this
functionality was always intended.
The default usage does not change, with exposure level 0 being the
only one used if --exposures is not used.
2015-09-10 14:57:17 +01:00
Egor Pugin
25136e40ea
Restore ICU_INCLUDE_DIRS for OS X.
2015-09-07 13:02:22 +03:00
Egor Pugin
670e0fafb3
Hide pango and cairo includes from targets that do not use it.
2015-09-07 12:49:08 +03:00
Egor Pugin
da3852dc77
Fix cygwin build.
2015-09-07 02:49:18 +03:00
Egor Pugin
c0d8a07b9d
Fix a lot of training tool to work on windows with static build.
2015-09-07 01:46:33 +03:00
Egor Pugin
03531ba8a5
Fix linux build.
2015-09-06 20:43:28 +03:00
Egor Pugin
5e3b8d33e3
Add source groups.
2015-09-06 13:47:30 +03:00
Nick White
8e71c79dc2
Remove --bin_dir option from tesstrain.sh (should use $PATH instead)
...
The --bin_dir option to tesstrain.sh is not useful, as $PATH does the
same job much better, so switch to relying on that instead.
This also makes the code a bit more readable, as it removes the need
to refer to binaries as COMMAND_NAME_EXE rather than just command_name.
2015-08-26 18:49:14 +01:00
Nick White
e110b14465
tesstrain.sh: Initialise fontconfig even if Arial isn't available
...
The fontconfig initialisation hardcodes using Arial. However it may
not be available, whereas the fonts being used later will be, so use
one of them for initialisation instead.
2015-08-26 18:32:44 +01:00
Nick White
422c424995
tesstrain.sh: Only set FONTS if they weren't set on the command line
...
Previously the fonts specified in language-selection.sh would override
any specified on the command line.
This changes language-specific.sh from overriding a user request to
just setting the default fonts if none are specified with --fontlist.
2015-08-26 18:24:14 +01:00
Nick White
8d0f59d09d
tesstrain.sh: Only fall back to default Latin fonts if none were provided
...
The --fontlist argument to tesstrain.sh was always ignored, even if
the language had no specific fonts specified in language-specific.sh.
Change this behaviour so the --fontlist argument is used if no specifc
fonts are selected by language-specific.sh.
2015-08-26 18:14:30 +01:00
James R. Barlow
18ac7ae7ef
Get OpenCL to compile on OS X
...
However, the output of the OpenCL build is garbage....
2015-08-26 02:03:07 -07:00
Zdenko Podobný
545a0634da
improve NO_CUBE_BUILD
2015-08-09 18:09:52 +02:00
Zdenko Podobný
66a76a9477
Revert "temporary add config/*, configure and Makefile.in for release"
...
This reverts commits ec9581d8f2
, 1afe382c4e
, 4b2cfabcc1
2015-07-31 21:44:43 +02:00
Zdenko Podobný
d9376594a8
fix memmory leak based on issue 1488 ( https://code.google.com/p/tesseract-ocr/issues/detail?id=1488 )
2015-07-27 20:58:54 +02:00
Jim O'Regan
6368a37da6
libicui18n is only called libicuin on mingw, not cygwin
2015-07-24 00:16:55 +01:00
Jim Regan
c09ed71740
strcasestr needed on Cygwin too
...
See: https://groups.google.com/d/msgid/tesseract-ocr/55B12C3C.3010908%40vol.at
```
pango_font_info.cpp:223:46: error: 'strcasestr' was not declared in this scope
is_fraktur_ = (strcasestr(family, "Fraktur") != NULL);
```
2015-07-23 22:20:10 +01:00
Jim O'Regan
524a61452d
Doxygen
...
Squashed commit from https://github.com/tesseract-ocr/tesseract/tree/more-doxygen
closes #14
Commits:
6317305
doxygen
9f42f69
doxygen
0fc4d52
doxygen
37b4b55
fix typo
bded8f1
some more doxy
020eb00
slight tweak
524666d
doxygenify
2a36a3e
doxygenify
229d218
doxygenify
7fd28ae
doxygenify
a8c64bc
doxygenify
f5d21b6
fix
5d8ede8
doxygenify
a58a4e0
language_model.cpp
fa85709
lm_pain_points.cpp lm_state.cpp
6418da3
merge
06190ba
Merge branch 'old_doxygen_merge' into more-doxygen
84acf08
Merge branch 'master' into more-doxygen
50fe1ff
pagewalk.cpp cube_reco_context.cpp
2982583
change to relative
192a24a
applybox.cpp, take one
8eeb053
delete docs for obsolete params
52e4c77
modernise classify/ocrfeatures.cpp
2a1cba6
modernise cutil/emalloc.cpp
773e006
silence doxygen warning
aeb1731
silence doxygen warning
f18387f
silence doxygen; new params are unused?
15ad6bd
doxygenify cutil/efio.cpp
c8b5dad
doxygenify cutil/danerror.cpp
784450f
the globals and exceptions parts are obsolete; remove
8bca324
doxygen classify/normfeat.cpp
9bcbe16
doxygen classify/normmatch.cpp
aa9a971
doxygen ccmain/cube_control.cpp
c083ff2
doxygen ccmain/cube_reco_context.cpp
f842850
params changed
5c94f12
doxygen ccmain/cubeclassifier.cpp
15ba750
case sensitive
f5c71d4
case sensitive
f85655b
doxygen classify/intproto.cpp
4bbc7aa
partial doxygen classify/mfx.cpp
dbb6041
partial doxygen classify/intproto.cpp
2aa72db
finish doxygen classify/intproto.cpp
0b8de99
doxygen training/mftraining.cpp
0b5b35c
partial doxygen ccstruct/coutln.cpp
b81c766
partial doxygen ccstruct/coutln.cpp
40fc415
finished? doxygen ccstruct/coutln.cpp
6e4165c
doxygen classify/clusttool.cpp
0267dec
doxygen classify/cutoffs.cpp
7f0c70c
doxygen classify/fpoint.cpp
512f3bd
ignore ~ files
5668a52
doxygen classify/intmatcher.cpp
84788d4
doxygen classify/kdtree.cpp
29f36ca
doxygen classify/mfoutline.cpp
40b94b1
silence doxygen warnings
6c511b9
doxygen classify/mfx.cpp
f9b4080
doxygen classify/outfeat.cpp
aa1df05
doxygen classify/picofeat.cpp
cc5f466
doxygen training/cntraining.cpp
cce044f
doxygen training/commontraining.cpp
167e216
missing param
9498383
renamed params
37eeac2
renamed param
d87b5dd
case
c8ee174
renamed params
b858db8
typo
4c2a838
h2 context?
81a2c0c
fix some param names; add some missing params, no docs
bcf8a4c
add some missing params, no docs
af77f86
add some missing params, no docs; fix some param names
01df24e
fix some params
6161056
fix some params
68508b6
fix some params
285aeb6
doxygen complains here no matter what
529bcfa
rm some missing params, typos
cd21226
rm some missing params, add some new ones
48a4bc2
fix params
c844628
missing param
312ce37
missing param; rename one
ec2fdec
missing param
05e15e0
missing params
d515858
change "<" to < to make doxygen happy
b476a28
wrong place
2015-07-20 18:48:00 +01:00
Zdenko Podobný
bf3f125ad5
change links from code.google.com to github.com
2015-07-11 09:43:31 +02:00
Zdenko Podobný
ec9581d8f2
temporary add configure and Makefile.in for release
2015-07-11 09:42:43 +02:00
Ray Smith
19c26f0646
Removed warning about ligatures and fixed root font dir
2015-07-10 15:56:33 -07:00
Ray Smith
a303ab9d00
Misc fixes, mostly clang formatting, but some bug fixes in matrix, werd, and tesstrain_utils. Also updates unicharset to match traineddata files.
2015-07-09 14:28:20 -07:00
Zdenko Podobný
6a998ec5d0
fix redefinition in stringrenderer.cpp (stringrenderer.h)
2015-06-14 17:29:27 +02:00
Ray Smith
0ee178d79b
Clang fixes to earlier changes and build compatability with Google environment part 2
2015-06-12 11:17:47 -07:00
Ray Smith
4c7ab0caea
Fixed font lists, improved wordlist management
2015-06-12 10:56:40 -07:00
Ray Smith
ab0f4e2c38
Clang fixes to earlier changes and build compatability with Google environment
2015-06-12 10:53:21 -07:00
Jim O'Regan
16ac3b0a20
/usr/share/fonts is the wrong path on Mac
2015-05-18 09:53:14 +01:00
Ray Smith
941d87057e
Fixed training build
2015-05-13 17:46:58 -07:00
Jim O'Regan
b13691fda0
Merge conflict: going with Ray's version
2015-05-13 08:54:28 +01:00
Ray Smith
b2a3924585
Major updates to training system as a result of extensive testing on 100 languages - makefile.am
2015-05-12 18:08:39 -07:00
Ray Smith
6be25156f7
Major updates to training system as a result of extensive testing on 100 languages
2015-05-12 18:04:31 -07:00
Ray Smith
164897210a
Improved newlines and spaces in a box file so it works better with RTL languages.
2015-05-12 17:51:03 -07:00
Ray Smith
6b634170c1
Significant change to invisible font system
...
to improve correctness and compatibility with
external programs, particularly ghostscript.
We will start mapping everything to a single glyph,
rather than allowing characters to run off the end
of the font.
A more detailed design discussion is embedded into
pdfrenderer.cpp comments. The font, source code
that produces the font, and the design comments
were contributed by Ken Sharp from Artifex Software.
2015-05-12 17:33:18 -07:00
Zdenko Podobný
d1c749f6ad
Fixed issue 1133 - part3 (Nick's replacement of InputBuffer-ReadLine with InputBuffer-Read)
2015-05-01 19:33:56 +02:00
Zdenko Podobný
5e754af9cb
Fixed issue 1133 - part2
2015-05-01 19:12:03 +02:00
Zdenko Podobný
c0640a4bef
fix cygwin build (issue 1289)
2014-09-28 23:19:52 +02:00
Zdenko Podobný
93f7899a9e
fix tesstrain.sh/issue 1311. Patch from Mark Zealey <zealey@gmail.com>
...
https://groups.google.com/forum/#!msg/tesseract-dev/uYTr1D656-M/xLXgjKy9fywJ
2014-09-14 15:10:25 +02:00
Zdenko Podobný
769fef8c96
fix training tools build
2014-08-13 22:07:44 +02:00
theraysmith@gmail.com
e249d7bcb2
Added tesstrain.sh - a master training script
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1146 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-08-11 23:20:56 +00:00
theraysmith@gmail.com
c9385a2755
Added tesstrain.sh - a master training script
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1145 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-08-11 23:20:45 +00:00
theraysmith@gmail.com
1fc8898926
Fixed missing newlines in logging
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1144 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-08-11 23:20:08 +00:00
theraysmith@gmail.com
6fcede5c48
Fixed some leaks
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1143 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-08-11 23:19:24 +00:00
theraysmith@gmail.com
9f4d6fd668
Added ability to just list available fonts for text, and to underline words for training
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1142 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-08-11 23:19:06 +00:00
theraysmith@gmail.com
97080412fd
Bunch of minor bug fixes/cleanups
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1106 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-05-21 15:48:48 +00:00
zdenop
30e5220f2e
fix training build for opencl and mingw
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1103 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-05-16 19:36:32 +00:00
theraysmith@gmail.com
cda8e748b1
Fixed some formatting issues
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1083 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-04-25 01:25:42 +00:00
theraysmith@gmail.com
42bfdc21d8
Fixed issue 1134
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1082 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-04-25 01:07:26 +00:00
theraysmith@gmail.com
84e0f6470f
Fixed issue 1132
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1081 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-04-24 21:46:57 +00:00
theraysmith@gmail.com
61d45d2f34
Fixed issue 1133
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1080 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-04-24 21:18:00 +00:00
theraysmith@gmail.com
bfb0e392d1
Applied patch to fix issue 1131
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1065 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-04-23 23:17:43 +00:00
theraysmith@gmail.com
cc47429587
Ugraded pango version
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1062 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-04-23 22:54:25 +00:00
theraysmith@gmail.com
8364f24f4b
Added ability for box files to store spaces and newlines
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1060 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-04-23 22:52:05 +00:00
zdenop
c3b9b7c60d
fix OSX build
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1059 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-04-16 09:04:28 +00:00
theraysmith@gmail.com
07ca24aeaf
Removed upper limit on trie size, fixing issue 1020.
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1044 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-02-03 19:18:23 +00:00
theraysmith@gmail.com
6a10aa7985
More cleanup changes from patches
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1024 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-29 02:22:14 +00:00
zdenop@gmail.com
ac5a8a871b
fix windows builds (mingw and VS2010)
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1017 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-26 22:39:20 +00:00
theraysmith@gmail.com
0d93bb7cfa
More code cleanup from patches and fixing warnings
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1011 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-24 21:09:59 +00:00
zdenop
9cf08ca8d3
fix build with -DGRAPHICS_DISABLED
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@981 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-11 23:08:54 +00:00
zdenop
8299e2a605
fix linux build, remove not used folder and spec file
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@979 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-10 23:52:04 +00:00
theraysmith@gmail.com
f244ab3fc6
New training tool text2image
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@965 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-09 18:04:20 +00:00
theraysmith@gmail.com
0e230a9d96
New training tool text2image
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@964 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-01-09 18:01:34 +00:00
theraysmith@gmail.com
4d514d5a60
Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc.
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@878 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-09-23 15:26:50 +00:00
zdenop@gmail.com
10c1169d98
remove unused code (Windows related)
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@860 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-07-08 18:21:10 +00:00
zdenop@gmail.com
b9abecfb34
Auto append dot in combine_tessdata (issue 932); provide more info for combine_tessdata utility
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@848 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-06-02 20:50:55 +00:00
theraysmith@gmail.com
59d244b06e
More fixes for GRAPHICS_DISABLED from Zdenko and Ray
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@757 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-09-22 00:59:31 +00:00
zdenop
937aab009f
fix issue 636
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@734 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-07-31 09:22:26 +00:00
zdenop@gmail.com
3115fbfdcb
another fix MinGW+MSYS
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@709 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-24 10:14:47 +00:00
zdenop@gmail.com
d4d4b8aad8
improve autools system (mingw+msys fix); implementation of --disable-tessdata-prefix
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@708 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-22 20:01:33 +00:00
zdenop@gmail.com
1009a6e2f0
fopen() should use binary mode (issue 70)
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@704 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-11 12:41:17 +00:00
tomp2010@gmail.com
87e03edb3a
Fix dawg2wordlist crash on Windows caused by fopening dawg file in "r" instead of "rb" mode.
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@703 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-10 08:09:11 +00:00
zdenop@gmail.com
2f1c112640
+Remove visibility from protected members of tesseract::TessBaseAPI class by applying TESS_LOCAL macro;
...
+Make PageIterator & ResultIterator classes visible by applying TESS_API macro;
+Fix api/Makefile.am & training/Makefile.am to allow Parallel Build Trees;
patch from Tom Powers (https://groups.google.com/group/tesseract-dev/msg/9d00579540e44055 )
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@701 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-07 22:04:46 +00:00
zdenop@gmail.com
1455bf5610
set tessedit_module_name for windows;
...
implement 'make install LANG="eng ara deu"';
more headers need to be installed: https://groups.google.com/group/tesseract-dev/msg/a4f7424377993b2e
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@700 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-06 22:41:43 +00:00
zdenop@gmail.com
5761bc5736
fix visibility build; + tprintf visible
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@693 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-03 21:13:42 +00:00
zdenop@gmail.com
97e19443a3
install only necessary headers, fix uninstall
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@692 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-03 13:22:51 +00:00
zdenop@gmail.com
3b326532cc
fix --enable-multiple-libraries; implement quite mode (issue 580)
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@691 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-03 11:48:59 +00:00
zdenop@gmail.com
e216adab43
fix configure.ac; unify identifiers (WIN32 vs _WIN32)
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@688 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-02 17:31:24 +00:00
zdenop@gmail.com
49c4ce3183
fix for GRAPHICS_DISABLED build
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@686 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-03-01 22:43:51 +00:00
zdenop@gmail.com
6ccab83bd6
fixing issue 628 (replacing __MSW32__ with _WIN32) and issue 614 (reverting "class DLLSYM STRING" to "class CCUTIL_API STRING")
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@677 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-02-19 21:48:45 +00:00
zdenop@gmail.com
53d133d83a
fixed cntraning thanks to Wil Hadden; fixed installation of new manpages
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@674 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-02-12 16:03:05 +00:00
theraysmith@gmail.com
e33ae59f4d
Fixed training leaks and randomness
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@653 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-02-02 03:02:16 +00:00
zdenop@gmail.com
67f47008c7
fixed "one lib" build on linux; runautoconf renamed to autogen.sh;
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@631 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-10-16 19:39:54 +00:00
joregan@gmail.com
bf4a09d72a
make single/multiple libraries optional -- this needs testing!!!
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@623 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-29 21:28:28 +00:00
theraysmith@gmail.com
7720f84fbd
Moved definition of Config to commontraining, fixing issue 414
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@609 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 16:39:51 +00:00
theraysmith@gmail.com
d5d15f32d7
Deleted Makefile.in from svn
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@606 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 16:32:44 +00:00
zdenop@gmail.com
7ec3dca968
show page 0 for multipage tiff;
...
Windows: use binary mode for fopen (issue 70);
autotools: fixed cutil/Makefile.am, improved tessdata/Makefile.am;
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@604 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-11 21:42:13 +00:00
theraysmith
69b7c2580b
Various fixes, including memory leak in fixspace, font labels on output, removed some annoying debug output, fixes to initialization of parameters, general cleanup, and added Hindi
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@573 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-03-21 21:48:58 +00:00
theraysmith
048a3efd5e
Fixed bug with empty dawgs
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@534 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-11-30 01:01:13 +00:00
zdenop@gmail.com
4523ce9f7d
3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@526 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-11-23 18:34:14 +00:00
zdenop@gmail.com
282aa13975
*.vcproj moved to vs2008/ (bin/ and bin.dbg/ will be in vs2008/)
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@506 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-10-06 21:38:19 +00:00
max.markin@gmail.com
fe6e6e098e
fix for vs2008 release mode compilation error in classify
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@504 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-10-03 18:24:40 +00:00
zdenop@gmail.com
3964660093
update of VC++ project file to recent changes
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@495 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-30 21:20:00 +00:00
joregan
e0b07948fc
disabling gettext checks - not currently used, and something about disabling is causing subsequent autoconf checks to not run
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@492 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-30 16:27:39 +00:00
zdenop@gmail.com
8e2018d9ec
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@473 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-29 21:49:36 +00:00
joregan
a72f81f594
a better prompt for the user to include '.'; reverts Zdenko's message changes: the original example was a /real/ example
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@464 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-28 01:03:17 +00:00
zdenop@gmail.com
fd07d936a9
improved usage description (issue http://code.google.com/p/tesseract-ocr/issues/detail?id=356 )
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@463 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-27 22:30:00 +00:00
zdenop@gmail.com
fe0e38fa75
improved script for creating language packages, improved tesseract.spec
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@461 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-26 20:11:50 +00:00
joregan
08defee46e
more doxygen
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@450 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-08-10 19:20:11 +00:00
joregan
76706552ff
/NODEFAULTLIB:library
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@433 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-07-21 15:25:59 +00:00
joregan
69d6d35f28
patch for issue 304 from max.markin
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@422 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-07-19 02:32:21 +00:00
joregan
a301f9a5c7
start of i18n
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@418 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-07-19 01:59:13 +00:00
joregan
d47379d8da
fix issue 306
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@380 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-28 00:45:23 +00:00
joregan
eaedbe6794
initial version
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@377 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-28 00:21:41 +00:00
joregan
ddcb98565a
update generated autoconf/make stuff
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@369 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-26 14:21:37 +00:00
joregan
34d8258049
use libtool
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@368 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-26 14:20:20 +00:00
theraysmith
45aacc077e
Updated tessdatamanager/combine_tessdata to give more functionality
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@353 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-20 23:07:24 +00:00
theraysmith
c9b3b33b67
Fixed issue 268 for 3.00
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@334 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-19 18:44:43 +00:00
theraysmith
fea38ee706
Misc root changes for 3.00
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@309 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-07-11 03:05:57 +00:00
theraysmith
16c84ed6ec
More Changes to training for 3.00
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@306 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-07-11 02:51:09 +00:00
theraysmith
5b79487a8e
Changes to training for 3.00
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@302 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-07-11 02:44:07 +00:00
theraysmith
bea5e04b76
Fixed compilation with GRAPHICS_DISABLED
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@250 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-03 17:24:08 +00:00
theraysmith
f3060abf71
Automake changes for potential RC of 2.04
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@248 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-03 02:50:54 +00:00
theraysmith
636765e622
Updated vcproj for VC++2008
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@233 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-02 20:01:29 +00:00