Pdf2Data 5.0.1 API
|
Engine which will apply post processors (if present) to results of base ocr engine. More...
Public Member Functions |
|
OcrWithPostProcessingEngine (IOcrEngine baseOcrEngine, IList< IOcrEnginePostProcessor > postProcessors, bool isTaggingSupported) | |
Creates new OcrWithPostProcessingEngine instance. |
|
virtual bool | IsTaggingSupported () |
Gets whether results will be tagged or not. |
|
virtual IDictionary< int, IList< TextInfo > > | DoImageOcr (FileInfo input) |
Performs ocr with post-processing to your input file. |
|
virtual IDictionary< int, IList< TextInfo > > | DoImageOcr (FileInfo input, OcrProcessContext ocrProcessContext) |
Performs ocr with post-processing to your input file. |
|
virtual void | CreateTxtFile (IList< FileInfo > inputImages, FileInfo txtFile) |
Performs OCR using provided iText.Pdfocr.IOcrEngine for the given list of input images and saves output to a text file using provided path. |
|
virtual void | CreateTxtFile (IList< FileInfo > inputImages, FileInfo txtFile, OcrProcessContext ocrProcessContext) |
Performs OCR using provided iText.Pdfocr.IOcrEngine for the given list of input images and saves output to a text file using provided path. |
|
Engine which will apply post processors (if present) to results of base ocr engine.
|
inline |
Creates new OcrWithPostProcessingEngine instance.
baseOcrEngine | base ocr engine which implements iText.Pdfocr.IOcrEngine |
postProcessors |
System.Collections.IList
isTaggingSupported | if true results will be tagged, otherwise tag structure will be missing |
|
inlinevirtual |
Performs OCR using provided iText.Pdfocr.IOcrEngine for the given list of input images and saves output to a text file using provided path.
Performs OCR using provided iText.Pdfocr.IOcrEngine for the given list of input images and saves output to a text file using provided path. Note that a human reading order is not guaranteed due to possible specifics of input images (multicolumn layout, tables etc.).
inputImages |
System.Collections.IList
txtFile | file to be created |
|
inlinevirtual |
Performs OCR using provided iText.Pdfocr.IOcrEngine for the given list of input images and saves output to a text file using provided path.
Performs OCR using provided iText.Pdfocr.IOcrEngine for the given list of input images and saves output to a text file using provided path. Note that a human reading order is not guaranteed due to possible specifics of input images (multicolumn layout, tables etc.).
inputImages |
System.Collections.IList
txtFile | file to be created |
ocrProcessContext | ocr processing context |
|
inlinevirtual |
Performs ocr with post-processing to your input file.
input | input image System.IO.FileInfo |
System.Collections.IDictionary
|
inlinevirtual |
Performs ocr with post-processing to your input file.
input | input image System.IO.FileInfo |
ocrProcessContext | ocr processing context |
System.Collections.IDictionary
|
inlinevirtual |
Gets whether results will be tagged or not.
true
if results will be tagged, false otherwise
;