public class TessPdfRenderer extends Object
Constructor and Description |
---|
TessPdfRenderer(TessBaseAPI baseApi,
String outputPath)
Constructs an instance of a Tesseract PDF renderer.
|
Modifier and Type | Method and Description |
---|---|
long |
getNativePdfRenderer() |
void |
recycle()
Releases resources and frees any memory associated with this
TessPdfRenderer object.
|
public TessPdfRenderer(TessBaseAPI baseApi, String outputPath)
recycle()
method must be invoked to dispose of it.baseApi
- API instance to use for performing OCRoutputPath
- Full path to write the resulting PDF to, not
including the ".pdf" extension