Any engine in the future can implement this interface.
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the name of the OCR engine (e.g., "OCRmyPDF", "Tesseract").Gets the name of the OCR engine. |
| public OcrResult | Returns: the result of the OCR operation with the extracted text or an error message.the file to perform OCR on. pdfPath)Performs OCR on the given input file and returns the result, whether the path of the OCRed with searchable text file or the error message. |
| getName | back to summary |
|---|---|
| public String getName() Gets the name of the OCR engine.
| |
| performOcrAndEmbedText | back to summary |
|---|---|
| public OcrResult performOcrAndEmbedText(Path pdfPath) throws IOException Performs OCR on the given input file and returns the result, whether the path of the OCRed with searchable text file or the error message. | |