|
FOSSredder 0.5.0
|
#include <TesseractCore.h>
Static Public Member Functions | |
| static std::pair< core::ports::text_recognition::Text, std::vector< core::ports::text_recognition::Word > > | extractFromBytes (const std::vector< uint8_t > &data, const std::string &tessdataPath, const core::ports::text_recognition::Settings &recognition, std::shared_ptr< core::ports::diagnostics::IDiagnostics > debugger=nullptr) |
| Extracts recognized text and word-level OCR data from image bytes. | |
Definition at line 16 of file TesseractCore.h.
|
static |
Extracts recognized text and word-level OCR data from image bytes.
| data | The encoded image bytes. |
| tessdataPath | The tessdata directory path or a fallback location hint. |
| recognition | The OCR recognition settings. |
| debugger | Optional debugger used for trace output. |
Definition at line 234 of file TesseractCore.cpp.

