mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Removed dependence on IMAGE class
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@947 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
2ce9cb7d01
commit
28c00478c6
@ -1,7 +1,7 @@
|
||||
AM_CPPFLAGS += \
|
||||
-I$(top_srcdir)/cutil -I$(top_srcdir)/ccutil \
|
||||
-I$(top_srcdir)/ccstruct -I$(top_srcdir)/dict \
|
||||
-I$(top_srcdir)/image -I$(top_srcdir)/viewer
|
||||
-I$(top_srcdir)/viewer
|
||||
|
||||
if VISIBILITY
|
||||
AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
@ -31,7 +31,6 @@ libtesseract_classify_la_LIBADD = \
|
||||
../cutil/libtesseract_cutil.la \
|
||||
../ccstruct/libtesseract_ccstruct.la \
|
||||
../dict/libtesseract_dict.la \
|
||||
../image/libtesseract_image.la \
|
||||
../viewer/libtesseract_viewer.la
|
||||
endif
|
||||
|
||||
|
@ -152,7 +152,7 @@ Classify::Classify()
|
||||
double_MEMBER(speckle_rating_penalty, 10.0,
|
||||
"Penalty to add to worst rating for noise", this->params()),
|
||||
shape_table_(NULL),
|
||||
dict_(&image_),
|
||||
dict_(this),
|
||||
static_classifier_(NULL) {
|
||||
fontinfo_table_.set_compare_callback(
|
||||
NewPermanentTessCallback(CompareFontInfo));
|
||||
|
Loading…
Reference in New Issue
Block a user