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

Method SetStartLine

deps/tesseract/ccmain/paragraphs.cpp:562–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562void RowScratchRegisters::SetStartLine() {
563 LineType current_lt = GetLineType();
564 if (current_lt != LT_UNKNOWN && current_lt != LT_START) {
565 tprintf("Trying to set a line to be START when it's already BODY.\n");
566 }
567 if (current_lt == LT_UNKNOWN || current_lt == LT_BODY) {
568 hypotheses_.push_back_new(LineHypothesis(LT_START, NULL));
569 }
570}
571
572void RowScratchRegisters::SetBodyLine() {
573 LineType current_lt = GetLineType();

Callers 1

MarkStrongEvidenceFunction · 0.80

Calls 2

LineHypothesisClass · 0.85
push_back_newMethod · 0.80

Tested by

no test coverage detected