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

Method RecognizeChar

deps/tesseract/cube/cube_object.cpp:209–216  ·  view source on GitHub ↗

Recognizes a single character and returns the list of results.

Source from the content-addressed store, hash-verified

207
208// Recognizes a single character and returns the list of results.
209CharAltList *CubeObject::RecognizeChar() {
210 if (char_samp_ == NULL) return NULL;
211 CharAltList* alt_list = NULL;
212 CharClassifier *char_classifier = cntxt_->Classifier();
213 ASSERT_HOST(char_classifier != NULL);
214 alt_list = char_classifier->Classify(char_samp_);
215 return alt_list;
216}
217
218// Normalize the input word bitmap to have a minimum aspect ratio
219bool CubeObject::Normalize() {

Callers 1

UnicharClassifySampleMethod · 0.80

Calls 2

ClassifierMethod · 0.80
ClassifyMethod · 0.45

Tested by

no test coverage detected