diff --git a/src/api/capi.cpp b/src/api/capi.cpp index a8a527fb38..990a9abb96 100644 --- a/src/api/capi.cpp +++ b/src/api/capi.cpp @@ -505,7 +505,7 @@ TESS_API char* TESS_CALL TessBaseAPIGetAltoText(TessBaseAPI* handle, int page_nu return handle->GetAltoText(page_number); } -TESS_API char* TESS_CALL TessBaseAPIGetTSVText(TessBaseAPI* handle, int page_number) +TESS_API char* TESS_CALL TessBaseAPIGetTsvText(TessBaseAPI* handle, int page_number) { return handle->GetTSVText(page_number); } diff --git a/src/api/capi.h b/src/api/capi.h index 4c28110874..5ed1cb7097 100644 --- a/src/api/capi.h +++ b/src/api/capi.h @@ -286,7 +286,7 @@ TESS_API char* TESS_CALL TessBaseAPIGetUTF8Text(TessBaseAPI* handle); TESS_API char* TESS_CALL TessBaseAPIGetHOCRText(TessBaseAPI* handle, int page_number); TESS_API char* TESS_CALL TessBaseAPIGetAltoText(TessBaseAPI* handle, int page_number); -TESS_API char* TESS_CALL TessBaseAPIGetTSVText(TessBaseAPI* handle, int page_number); +TESS_API char* TESS_CALL TessBaseAPIGetTsvText(TessBaseAPI* handle, int page_number); TESS_API char* TESS_CALL TessBaseAPIGetBoxText(TessBaseAPI* handle, int page_number); TESS_API char* TESS_CALL TessBaseAPIGetLSTMBoxText(TessBaseAPI* handle, int page_number);