mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-12 07:29:07 +08:00
fix ABI compatibility (move training files back to 4.1.0 location)
This commit is contained in:
parent
def1dc4673
commit
0c5995568f
@ -25,6 +25,8 @@ noinst_HEADERS += clusttool.h
|
|||||||
noinst_HEADERS += featdefs.h
|
noinst_HEADERS += featdefs.h
|
||||||
noinst_HEADERS += float2int.h
|
noinst_HEADERS += float2int.h
|
||||||
noinst_HEADERS += fpoint.h
|
noinst_HEADERS += fpoint.h
|
||||||
|
noinst_HEADERS += intfeaturedist.cpp
|
||||||
|
noinst_HEADERS += intfeaturemap.cpp
|
||||||
noinst_HEADERS += intfeaturespace.h
|
noinst_HEADERS += intfeaturespace.h
|
||||||
noinst_HEADERS += intfx.h
|
noinst_HEADERS += intfx.h
|
||||||
noinst_HEADERS += intmatcher.h
|
noinst_HEADERS += intmatcher.h
|
||||||
@ -40,10 +42,12 @@ noinst_HEADERS += ocrfeatures.h
|
|||||||
noinst_HEADERS += outfeat.h
|
noinst_HEADERS += outfeat.h
|
||||||
noinst_HEADERS += picofeat.h
|
noinst_HEADERS += picofeat.h
|
||||||
noinst_HEADERS += protos.h
|
noinst_HEADERS += protos.h
|
||||||
|
noinst_HEADERS += sampleiterator.h
|
||||||
noinst_HEADERS += shapeclassifier.h
|
noinst_HEADERS += shapeclassifier.h
|
||||||
noinst_HEADERS += shapetable.h
|
noinst_HEADERS += shapetable.h
|
||||||
noinst_HEADERS += tessclassifier.h
|
noinst_HEADERS += tessclassifier.h
|
||||||
noinst_HEADERS += trainingsample.h
|
noinst_HEADERS += trainingsample.h
|
||||||
|
noinst_HEADERS += trainingsampleset.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libtesseract_classify.la
|
noinst_LTLIBRARIES = libtesseract_classify.la
|
||||||
@ -60,6 +64,8 @@ libtesseract_classify_la_SOURCES += cutoffs.cpp
|
|||||||
libtesseract_classify_la_SOURCES += featdefs.cpp
|
libtesseract_classify_la_SOURCES += featdefs.cpp
|
||||||
libtesseract_classify_la_SOURCES += float2int.cpp
|
libtesseract_classify_la_SOURCES += float2int.cpp
|
||||||
libtesseract_classify_la_SOURCES += fpoint.cpp
|
libtesseract_classify_la_SOURCES += fpoint.cpp
|
||||||
|
libtesseract_classify_la_SOURCES += intfeaturedist.cpp
|
||||||
|
libtesseract_classify_la_SOURCES += intfeaturemap.cpp
|
||||||
libtesseract_classify_la_SOURCES += intfeaturespace.cpp
|
libtesseract_classify_la_SOURCES += intfeaturespace.cpp
|
||||||
libtesseract_classify_la_SOURCES += intfx.cpp
|
libtesseract_classify_la_SOURCES += intfx.cpp
|
||||||
libtesseract_classify_la_SOURCES += intmatcher.cpp
|
libtesseract_classify_la_SOURCES += intmatcher.cpp
|
||||||
@ -75,8 +81,10 @@ libtesseract_classify_la_SOURCES += ocrfeatures.cpp
|
|||||||
libtesseract_classify_la_SOURCES += outfeat.cpp
|
libtesseract_classify_la_SOURCES += outfeat.cpp
|
||||||
libtesseract_classify_la_SOURCES += picofeat.cpp
|
libtesseract_classify_la_SOURCES += picofeat.cpp
|
||||||
libtesseract_classify_la_SOURCES += protos.cpp
|
libtesseract_classify_la_SOURCES += protos.cpp
|
||||||
|
libtesseract_classify_la_SOURCES += sampleiterator.cpp
|
||||||
libtesseract_classify_la_SOURCES += shapeclassifier.cpp
|
libtesseract_classify_la_SOURCES += shapeclassifier.cpp
|
||||||
libtesseract_classify_la_SOURCES += shapetable.cpp
|
libtesseract_classify_la_SOURCES += shapetable.cpp
|
||||||
libtesseract_classify_la_SOURCES += tessclassifier.cpp
|
libtesseract_classify_la_SOURCES += tessclassifier.cpp
|
||||||
libtesseract_classify_la_SOURCES += trainingsample.cpp
|
libtesseract_classify_la_SOURCES += trainingsample.cpp
|
||||||
|
libtesseract_classify_la_SOURCES += trainingsampleset.cpp
|
||||||
endif
|
endif
|
||||||
|
@ -30,10 +30,10 @@ endif
|
|||||||
|
|
||||||
pkginclude_HEADERS =
|
pkginclude_HEADERS =
|
||||||
|
|
||||||
noinst_HEADERS = convolve.h
|
noinst_HEADERS = convolve.h ctc.h
|
||||||
noinst_HEADERS += fullyconnected.h functions.h input.h
|
noinst_HEADERS += fullyconnected.h functions.h input.h
|
||||||
noinst_HEADERS += lstm.h lstmrecognizer.h maxpool.h
|
noinst_HEADERS += lstm.h lstmrecognizer.h lstmtrainer.h maxpool.h
|
||||||
noinst_HEADERS += network.h networkio.h networkscratch.h
|
noinst_HEADERS += network.h networkbuilder.h networkio.h networkscratch.h
|
||||||
noinst_HEADERS += parallel.h plumbing.h recodebeam.h reconfig.h reversed.h
|
noinst_HEADERS += parallel.h plumbing.h recodebeam.h reconfig.h reversed.h
|
||||||
noinst_HEADERS += series.h static_shape.h stridemap.h
|
noinst_HEADERS += series.h static_shape.h stridemap.h
|
||||||
noinst_HEADERS += tfnetwork.h weightmatrix.h
|
noinst_HEADERS += tfnetwork.h weightmatrix.h
|
||||||
@ -41,9 +41,9 @@ noinst_HEADERS += tfnetwork.h weightmatrix.h
|
|||||||
noinst_LTLIBRARIES = libtesseract_lstm.la
|
noinst_LTLIBRARIES = libtesseract_lstm.la
|
||||||
|
|
||||||
libtesseract_lstm_la_SOURCES = \
|
libtesseract_lstm_la_SOURCES = \
|
||||||
convolve.cpp fullyconnected.cpp functions.cpp input.cpp \
|
convolve.cpp ctc.cpp fullyconnected.cpp functions.cpp input.cpp \
|
||||||
lstm.cpp lstmrecognizer.cpp maxpool.cpp \
|
lstm.cpp lstmrecognizer.cpp lstmtrainer.cpp maxpool.cpp \
|
||||||
network.cpp networkio.cpp \
|
network.cpp networkbuilder.cpp networkio.cpp \
|
||||||
parallel.cpp plumbing.cpp recodebeam.cpp reconfig.cpp reversed.cpp \
|
parallel.cpp plumbing.cpp recodebeam.cpp reconfig.cpp reversed.cpp \
|
||||||
series.cpp stridemap.cpp tfnetwork.cpp weightmatrix.cpp
|
series.cpp stridemap.cpp tfnetwork.cpp weightmatrix.cpp
|
||||||
|
|
||||||
|
@ -76,22 +76,10 @@ set(common_training_src
|
|||||||
commandlineflags.h
|
commandlineflags.h
|
||||||
commontraining.cpp
|
commontraining.cpp
|
||||||
commontraining.h
|
commontraining.h
|
||||||
ctc.cpp
|
|
||||||
ctc.h
|
|
||||||
errorcounter.cpp
|
errorcounter.cpp
|
||||||
errorcounter.h
|
errorcounter.h
|
||||||
intfeaturedist.cpp
|
|
||||||
intfeaturedist.h
|
|
||||||
intfeaturemap.cpp
|
|
||||||
intfeaturemap.h
|
|
||||||
mastertrainer.cpp
|
mastertrainer.cpp
|
||||||
mastertrainer.h
|
mastertrainer.h
|
||||||
networkbuilder.cpp
|
|
||||||
networkbuilder.h
|
|
||||||
sampleiterator.cpp
|
|
||||||
sampleiterator.h
|
|
||||||
trainingsampleset.cpp
|
|
||||||
trainingsampleset.h
|
|
||||||
)
|
)
|
||||||
add_library (common_training ${common_training_src})
|
add_library (common_training ${common_training_src})
|
||||||
target_link_libraries (common_training libtesseract tessopt)
|
target_link_libraries (common_training libtesseract tessopt)
|
||||||
@ -197,8 +185,6 @@ set(unicharset_training_src
|
|||||||
lang_model_helpers.h
|
lang_model_helpers.h
|
||||||
lstmtester.cpp
|
lstmtester.cpp
|
||||||
lstmtester.h
|
lstmtester.h
|
||||||
lstmtrainer.cpp
|
|
||||||
lstmtrainer.h
|
|
||||||
normstrngs.cpp
|
normstrngs.cpp
|
||||||
normstrngs.h
|
normstrngs.h
|
||||||
unicharset_training_utils.cpp
|
unicharset_training_utils.cpp
|
||||||
|
@ -32,15 +32,12 @@ noinst_HEADERS = \
|
|||||||
boxchar.h \
|
boxchar.h \
|
||||||
commandlineflags.h \
|
commandlineflags.h \
|
||||||
commontraining.h \
|
commontraining.h \
|
||||||
ctc.h \
|
|
||||||
degradeimage.h \
|
degradeimage.h \
|
||||||
icuerrorcode.h \
|
icuerrorcode.h \
|
||||||
fileio.h \
|
fileio.h \
|
||||||
lang_model_helpers.h \
|
lang_model_helpers.h \
|
||||||
ligature_table.h \
|
ligature_table.h \
|
||||||
lstmtester.h \
|
lstmtester.h \
|
||||||
lstmtrainer.h \
|
|
||||||
networkbuilder.h \
|
|
||||||
normstrngs.h \
|
normstrngs.h \
|
||||||
pango_font_info.h \
|
pango_font_info.h \
|
||||||
stringrenderer.h \
|
stringrenderer.h \
|
||||||
@ -57,12 +54,8 @@ noinst_HEADERS = \
|
|||||||
|
|
||||||
if !DISABLED_LEGACY_ENGINE
|
if !DISABLED_LEGACY_ENGINE
|
||||||
noinst_HEADERS += errorcounter.h
|
noinst_HEADERS += errorcounter.h
|
||||||
noinst_HEADERS += intfeaturedist.h
|
|
||||||
noinst_HEADERS += intfeaturemap.h
|
|
||||||
noinst_HEADERS += mastertrainer.h
|
noinst_HEADERS += mastertrainer.h
|
||||||
noinst_HEADERS += mergenf.h
|
noinst_HEADERS += mergenf.h
|
||||||
noinst_HEADERS += sampleiterator.h
|
|
||||||
noinst_HEADERS += trainingsampleset.h
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
@ -76,15 +69,12 @@ libtesseract_training_la_SOURCES = \
|
|||||||
boxchar.cpp \
|
boxchar.cpp \
|
||||||
commandlineflags.cpp \
|
commandlineflags.cpp \
|
||||||
commontraining.cpp \
|
commontraining.cpp \
|
||||||
ctc.cpp \
|
|
||||||
degradeimage.cpp \
|
degradeimage.cpp \
|
||||||
icuerrorcode.cpp \
|
icuerrorcode.cpp \
|
||||||
fileio.cpp \
|
fileio.cpp \
|
||||||
lang_model_helpers.cpp \
|
lang_model_helpers.cpp \
|
||||||
ligature_table.cpp \
|
ligature_table.cpp \
|
||||||
lstmtester.cpp \
|
lstmtester.cpp \
|
||||||
lstmtrainer.cpp \
|
|
||||||
networkbuilder.cpp \
|
|
||||||
normstrngs.cpp \
|
normstrngs.cpp \
|
||||||
pango_font_info.cpp \
|
pango_font_info.cpp \
|
||||||
stringrenderer.cpp \
|
stringrenderer.cpp \
|
||||||
@ -99,11 +89,7 @@ libtesseract_training_la_SOURCES = \
|
|||||||
|
|
||||||
if !DISABLED_LEGACY_ENGINE
|
if !DISABLED_LEGACY_ENGINE
|
||||||
libtesseract_training_la_SOURCES += errorcounter.cpp
|
libtesseract_training_la_SOURCES += errorcounter.cpp
|
||||||
libtesseract_training_la_SOURCES += intfeaturedist.cpp
|
|
||||||
libtesseract_training_la_SOURCES += intfeaturemap.cpp
|
|
||||||
libtesseract_training_la_SOURCES += mastertrainer.cpp
|
libtesseract_training_la_SOURCES += mastertrainer.cpp
|
||||||
libtesseract_training_la_SOURCES += sampleiterator.cpp
|
|
||||||
libtesseract_training_la_SOURCES += trainingsampleset.cpp
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libtesseract_tessopt_la_SOURCES = \
|
libtesseract_tessopt_la_SOURCES = \
|
||||||
|
Loading…
Reference in New Issue
Block a user