mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-01 07:59:05 +08:00
TessResultRenderer: Extend API to access status of renderer
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
9c2d1aad96
commit
b0b8dfbc81
@ -80,6 +80,9 @@ class TESS_API TessResultRenderer {
|
||||
const char* file_extension() const { return file_extension_; }
|
||||
const char* title() const { return title_.c_str(); }
|
||||
|
||||
// Is everything fine? Otherwise something went wrong.
|
||||
bool happy() { return happy_; }
|
||||
|
||||
/**
|
||||
* Returns the index of the last image given to AddImage
|
||||
* (i.e. images are incremented whether the image succeeded or not)
|
||||
|
Loading…
Reference in New Issue
Block a user