diff --git a/src/api/baseapi.cpp b/src/api/baseapi.cpp index 13e359f7f..a96e7dcd4 100644 --- a/src/api/baseapi.cpp +++ b/src/api/baseapi.cpp @@ -1369,13 +1369,12 @@ std::tuple TessBaseAPI::GetTableBoundingBox(unsigned i) } const int height = tesseract_->ImageHeight(); - + return std::make_tuple( t[i].box.left(), height - t[i].box.top(), t[i].box.right(), height - t[i].box.bottom()); } - std::vector> TessBaseAPI::GetTableRows(unsigned i) { const auto &t = constUniqueInstance>();