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

Method ComputeBoundingBox

deps/tesseract/ccstruct/boxword.cpp:184–188  ·  view source on GitHub ↗

Computes the bounding box of the word.

Source from the content-addressed store, hash-verified

182
183// Computes the bounding box of the word.
184void BoxWord::ComputeBoundingBox() {
185 bbox_ = TBOX();
186 for (int i = 0; i < length_; ++i)
187 bbox_ += boxes_[i];
188}
189
190// This and other putatively are the same, so call the (permanent) callback
191// for each blob index where the bounding boxes match.

Callers 1

CopyFromNormalizedMethod · 0.45

Calls 1

TBOXClass · 0.70

Tested by

no test coverage detected