diff --git a/include/tesseract/capi.h b/include/tesseract/capi.h index cc95e30e8b..5e8adecbdd 100644 --- a/include/tesseract/capi.h +++ b/include/tesseract/capi.h @@ -156,6 +156,7 @@ TESS_API TessResultRenderer *TessHOcrRendererCreate(const char *outputbase); TESS_API TessResultRenderer *TessHOcrRendererCreate2(const char *outputbase, BOOL font_info); TESS_API TessResultRenderer *TessAltoRendererCreate(const char *outputbase); +TESS_API TessResultRenderer *TessPAGERendererCreate(const char *outputbase); TESS_API TessResultRenderer *TessTsvRendererCreate(const char *outputbase); TESS_API TessResultRenderer *TessPDFRendererCreate(const char *outputbase, const char *datadir, @@ -322,6 +323,7 @@ TESS_API char *TessBaseAPIGetUTF8Text(TessBaseAPI *handle); TESS_API char *TessBaseAPIGetHOCRText(TessBaseAPI *handle, int page_number); TESS_API char *TessBaseAPIGetAltoText(TessBaseAPI *handle, int page_number); +TESS_API char *TessBaseAPIGetPAGEText(TessBaseAPI *handle, int page_number); TESS_API char *TessBaseAPIGetTsvText(TessBaseAPI *handle, int page_number); TESS_API char *TessBaseAPIGetBoxText(TessBaseAPI *handle, int page_number);