Table of Contents

Class PDFRenderer

Namespace
Emgu.CV.OCR
Assembly
Emgu.CV.dll

Renders tesseract output into searchable PDF

public class PDFRenderer : UnmanagedObject, IDisposable, ITessResultRenderer
Inheritance
PDFRenderer
Implements
Inherited Members
Extension Methods

Constructors

PDFRenderer(string, string, bool)

Create a PDF renderer

public PDFRenderer(string outputBase, string dataDir, bool textOnly)

Parameters

outputBase string

Output base

dataDir string

dataDir is the location of the TESSDATA. We need it because we load a custom PDF font from this location.

textOnly bool

Text only

Properties

TessResultRendererPtr

Pointer to the unmanaged TessResultRendered

public nint TessResultRendererPtr { get; }

Property Value

nint

Methods

DisposeObject()

Release the unmanaged memory associated with this Renderer

protected override void DisposeObject()