Skip to content

Commit

Permalink
add missing the implementation for TessBaseAPIGetAltoText method in C…
Browse files Browse the repository at this point in the history
…-API
  • Loading branch information
zdenop committed Dec 26, 2018
1 parent e3a39c3 commit cc997b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/api/capi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,11 @@ TESS_API char* TESS_CALL TessBaseAPIGetHOCRText(TessBaseAPI* handle, int page_nu
return handle->GetHOCRText(nullptr, page_number);
}

TESS_API char* TESS_CALL TessBaseAPIGetAltoText(TessBaseAPI* handle, int page_number)
{
return handle->GetAltoText(page_number);
}

TESS_API char* TESS_CALL TessBaseAPIGetBoxText(TessBaseAPI* handle, int page_number)
{
return handle->GetBoxText(page_number);
Expand Down

0 comments on commit cc997b5

Please sign in to comment.