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

Method NonNullHypotheses

deps/tesseract/ccmain/paragraphs.cpp:610–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610void RowScratchRegisters::NonNullHypotheses(SetOfModels *models) const {
611 for (int h = 0; h < hypotheses_.size(); h++) {
612 if (hypotheses_[h].model != NULL)
613 models->push_back_new(hypotheses_[h].model);
614 }
615}
616
617const ParagraphModel *RowScratchRegisters::UniqueStartHypothesis() const {
618 if (hypotheses_.size() != 1 || hypotheses_[0].ty != LT_START)

Callers 3

RowIsStrandedFunction · 0.80
LeftoverSegmentsFunction · 0.80

Calls 2

push_back_newMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected