Package | Description |
---|---|
com.qoppa.ocr |
OCR bridge integration.
|
Modifier and Type | Method and Description |
---|---|
String |
TessJNI.getOCRText(String language,
PDFPage pdfPage,
int dpi,
OCROptions options)
Performs OCR on a PDF page and returns a plain text result string.
|
static void |
OCRBridge.initialize(String tesseractLibraryPath,
String tesseractDataPath)
Initializes the Tesseract bridge with the path to the native libraries
and the path to the language data files.
|
String |
TessJNI.performOCR(String language,
BufferedImage image,
int imageDPI)
Deprecated.
Use the version of this method that takes a pageNumber argument.
|
String |
TessJNI.performOCR(String language,
BufferedImage image,
int imageDPI,
int pageNumber)
Performs OCR on an image and returns an hOCR result string.
|
String |
TessJNI.performOCR(String language,
PDFPage pdfPage,
int dpi)
Performs OCR on a PDF page and returns an hOCR result string.
|
String |
TessJNI.performOCR(String language,
PDFPage pdfPage,
int dpi,
OCROptions options)
Performs OCR on a PDF page and returns an hOCR result string.
|
OCRPageResults |
TessJNI.performOCRandOSD(String language,
PDFPage pdfPage,
int dpi,
OCROptions options)
Convert a PDF page to an image and run OCR on it, to return the OCR text in hOCR format, and page orientation information.
|