MCPcopy Create free account
hub / github.com/creatale/node-dv / GetSample

Method GetSample

deps/tesseract/classify/trainingsampleset.cpp:174–176  ·  view source on GitHub ↗

Gets a sample by its index.

Source from the content-addressed store, hash-verified

172
173// Gets a sample by its index.
174const TrainingSample* TrainingSampleSet::GetSample(int index) const {
175 return samples_[index];
176}
177
178// Gets a sample by its font, class, index.
179// OrganizeByFontAndClass must have been already called.

Callers 3

SetupForClusteringMethod · 0.80
sampleiterator.cppFile · 0.80
FindNZFeatureMappingMethod · 0.80

Calls 1

SparseToCompactMethod · 0.45

Tested by

no test coverage detected