public class TessPdfRenderer
Java representation of a native Tesseract PDF renderer
public TessPdfRenderer(TessBaseAPI baseApi, java.lang.String outputPath)
Constructs an instance of a Tesseract PDF renderer. When the instance of TessPdfRenderer is no longer needed, its method must be invoked to dispose of it.com.googlecode.tesseract.android.TessPdfRenderer$recycle()
baseApi - API instance to use for performing OCRoutputPath - Full path to write the resulting PDF to, not including the ".pdf" extensioncom.googlecode.tesseract.android.TessPdfRenderer$recycle()public TessPdfRenderer(TessBaseAPI baseApi)
Constructs an instance of a Tesseract PDF renderer. When the instance of TessPdfRenderer is no longer needed, its method must be invoked to dispose of it. This [TessPdfRenderer] will write the generated pdf file to the internal byte array buffer.com.googlecode.tesseract.android.TessPdfRenderer$recycle()
baseApi - API instance to use for performing OCRcom.googlecode.tesseract.android.TessPdfRenderer$recycle()public long getNativePdfRenderer()
public void recycle()
Releases resources and frees any memory associated with this TessPdfRenderer object. Must be called on object destruction.