From 067c971774aeb50ce3ecbfa470fefe6fd42e3884 Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Wed, 24 Mar 2021 14:36:45 +0300 Subject: [PATCH] Misc. --- src/api/baseapi.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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>();