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

Method reflect_polygon_in_y_axis

deps/tesseract/ccstruct/ocrblock.cpp:107–110  ·  view source on GitHub ↗

* BLOCK::reflect_polygon_in_y_axis * * Reflects the polygon in the y-axis and recompute the bounding_box. * Does nothing to any contained rows/words/blobs etc. */

Source from the content-addressed store, hash-verified

105 * Does nothing to any contained rows/words/blobs etc.
106 */
107void BLOCK::reflect_polygon_in_y_axis() {
108 poly_block()->reflect_in_y_axis();
109 box = *poly_block()->bounding_box();
110}
111
112/**
113 * BLOCK::sort_rows

Callers 1

RotateAndReskewBlocksMethod · 0.80

Calls 2

reflect_in_y_axisMethod · 0.80
bounding_boxMethod · 0.45

Tested by

no test coverage detected