Hi there!
I have a suggestion to make:
Please add the possiblity to get the complete hocr-html with header begin, end,
instead of only the body content as of now ...
Example:
# capi.cpp:
TESS_API char* TESS_CALL TessBaseAPIGetHOCRHtml(TessBaseAPI* handle, int
page_number)
{
return handle->GetHOCRHtml(page_number);
}
# Maybe reusing the code of renderer.cpp:
bool TessHOcrRenderer::BeginDocumentHandler() {
AppendString(
...
AppendString(title());
AppendString(
...
return true;
}
bool TessHOcrRenderer::EndDocumentHandler() {
...
return true;
}
What do you think?
--
--
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en
---
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.