Package 

Class TessPdfRenderer


  • 
    public class TessPdfRenderer
    
                        

    Java representation of a native Tesseract PDF renderer

    • Constructor Summary

      Constructors 
      Constructor Description
      TessPdfRenderer(TessBaseAPI baseApi, String outputPath) Constructs an instance of a Tesseract PDF renderer.
    • Method Summary

      Modifier and Type Method Description
      long getNativePdfRenderer()
      void recycle() Releases resources and frees any memory associated with thisTessPdfRenderer object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TessPdfRenderer

        TessPdfRenderer(TessBaseAPI baseApi, String outputPath)
        Constructs an instance of a Tesseract PDF renderer.
        Parameters:
        baseApi - API instance to use for performing OCR
        outputPath - Full path to write the resulting PDF to, notincluding the ".
    • Method Detail

      • recycle

         void recycle()

        Releases resources and frees any memory associated with thisTessPdfRenderer object. Must be called on object destruction.