HPDFCreateBuiltInOCREngine

Declaration

function HPDFCreateBuiltInOCREngine: IHPDFOCREngine;

Unit

HPDFBuiltInRecognition

Behaviour

Returns the bounded built-in OCR engine that recognises machine-printed ASCII letters and digits through cached multi-font glyph templates without an external OCR installation

Pass the returned engine to the engine overload of THotPDF.ApplyLoadedOCRTextLayer when one application selects between the built-in engine and the optional Tesseract or RapidOCR engine factories

The engine-free overloads of ApplyLoadedOCRTextLayer select the same recogniser implicitly, so an explicit call matters only when the engine must be chosen or shared explicitly

The sibling factories HPDFCreateBuiltInBarcodeDecoder and HPDFCreateBuiltInSingleBarcodeDecoder create the built-in barcode recognisers of the same unit

Related APIs

Built-in OCR and Barcode Recognition

IHPDFOCREngine Interface

THotPDF.ApplyLoadedOCRTextLayer

Searchable OCR Text Layers