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

Method ComputeBoundingBoxes

deps/tesseract/ccstruct/blobs.cpp:462–466  ·  view source on GitHub ↗

Recomputes the bounding boxes of the outlines.

Source from the content-addressed store, hash-verified

460
461// Recomputes the bounding boxes of the outlines.
462void TBLOB::ComputeBoundingBoxes() {
463 for (TESSLINE* outline = outlines; outline != NULL; outline = outline->next) {
464 outline->ComputeBoundingBox();
465 }
466}
467
468// Returns the number of outlines.
469int TBLOB::NumOutlines() const {

Callers 3

SetupBoxWordMethod · 0.80
ApplySeamMethod · 0.80
UndoSeamMethod · 0.80

Calls 2

ComputeBoundingBoxMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected