Modifier and Type | Method and Description |
---|---|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.saveIntermediateImagesToDir(File dir)
Save intermediate images generated for debug purpose - don't specify or empty string to skip saving
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setCustomImagePreProcessing(String cmds)
set the image pre-processing type to Ocr.ImagePreProcessingType.CUSTOM and the corresponding custom commands.
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setImagePreProcessingType(Ocr.ImagePreProcessingType type)
Sets the image pre-processing type
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setInputPdfDpi(int dpi)
The DPI to be used to render the PDF file; default is 300 if not specified
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setLimitToCharset(String chars)
recognizes only certain characters
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setLimitToCharsetDigitsOnly()
only recognizes '0123456789'
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setOutputSeparateWords(boolean enable)
whether to use word as the base unit for output; set to false to use the default unit: line.
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setPageType(Ocr.PageType pageType)
hints the page type to the OCR engine
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setPageType(String pageType)
hints the page type to the OCR engine
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setPdfImageForceBlackWhite(boolean enable)
true to convert image in PDF to black/white to save space false for keeping as is (default).
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setPdfOutputFile(File file)
Target pdf output file when output format is set to pdf
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setPdfOutputFile(String filePath)
Target pdf output file when output format is set to pdf
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setPdfOutputFontSans(boolean enable)
true to set PDF output font to Sans, false to Serif (default).
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setPdfOutputReturnNothing()
Return neither plain text nor xml when the output format is set to PDF.
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setPdfOutputReturnPlainText()
Return plain text when the output format is set to PDF.
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setPdfOutputReturnXml()
Return xml when the output format is set to PDF.
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setPdfTextVisible(boolean enable)
true to make text recognized visible on PDF or false for transparent (default).
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setSkipTableDetection(boolean skipTableDetection)
Whether table detection should be skipped.
|
Ocr.PropertyBuilder |
Ocr.PropertyBuilder.setTableDetectionMinSideLength(int minSideLength)
Sets the min side length of a table cell when table detection is enabled.
|
Copyright © Asprise Software. All Rights Reserved. Please visit the product page at asprise.com