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

Method BoundingBox

deps/tesseract/ccmain/pageiterator.cpp:324–328  ·  view source on GitHub ↗

* Returns the bounding rectangle of the current object at the given level in * coordinates of the original image. * See comment on coordinate system above. * Returns false if there is no such object at the current position. */

Source from the content-addressed store, hash-verified

322 * Returns false if there is no such object at the current position.
323 */
324bool PageIterator::BoundingBox(PageIteratorLevel level,
325 int* left, int* top,
326 int* right, int* bottom) const {
327 return BoundingBox(level, 0, left, top, right, bottom);
328}
329
330bool PageIterator::BoundingBox(PageIteratorLevel level, const int padding,
331 int* left, int* top,

Callers 8

AddBaselineCoordsTohOCRFunction · 0.80
AddBoxTohOCRFunction · 0.80
AddBoxToTSVFunction · 0.80
GetHOCRTextMethod · 0.80
GetTSVTextMethod · 0.80
GetBoxTextMethod · 0.80
GetTextDirectionMethod · 0.80

Calls 1

ClipToRangeFunction · 0.85

Tested by

no test coverage detected