- PAGES_ALL - Static variable in class com.asprise.ocr.Ocr
-
Recognize all pages.
- parse(String) - Static method in enum com.asprise.ocr.Ocr.PageType
-
- PROP_DICT_DICT_IMPORTANCE - Static variable in class com.asprise.ocr.Ocr
-
Percentage measuring the importance of the dictionary (0: not at all; 100: extremely important; default: 10)
- PROP_IMG_PREPROCESS_CUSTOM_CMDS - Static variable in class com.asprise.ocr.Ocr
-
Custom mage pre-processing command
- PROP_IMG_PREPROCESS_TYPE - Static variable in class com.asprise.ocr.Ocr
-
Image pre-processing type
- PROP_IMG_PREPROCESS_TYPE_CUSTOM - Static variable in class com.asprise.ocr.Ocr
-
Custom, need to set PROP_IMG_PREPROCESS_CUSTOM_CMDS
- PROP_IMG_PREPROCESS_TYPE_DEFAULT - Static variable in class com.asprise.ocr.Ocr
-
Use system default
- PROP_IMG_PREPROCESS_TYPE_DEFAULT_WITH_ORIENTATION_DETECTION - Static variable in class com.asprise.ocr.Ocr
-
Default + page orientation detection
- PROP_INPUT_PDF_DPI - Static variable in class com.asprise.ocr.Ocr
-
The DPI to be used to render the PDF file; default is 300 if not specified
- PROP_LIMIT_TO_CHARSET - Static variable in class com.asprise.ocr.Ocr
-
Recognizes only the specified list of characters.
- PROP_OUTPUT_SEPARATE_WORDS - Static variable in class com.asprise.ocr.Ocr
-
Set to 'true' to set the output level as word instead of the default, line.
- PROP_PAGE_TYPE - Static variable in class com.asprise.ocr.Ocr
-
Use this property to hint the OCR engine about page type.
- PROP_PAGE_TYPE_AUTO - Static variable in class com.asprise.ocr.Ocr
-
- PROP_PAGE_TYPE_SCATTERED - Static variable in class com.asprise.ocr.Ocr
-
- PROP_PAGE_TYPE_SINGLE_BLOCK - Static variable in class com.asprise.ocr.Ocr
-
- PROP_PAGE_TYPE_SINGLE_CHAR - Static variable in class com.asprise.ocr.Ocr
-
- PROP_PAGE_TYPE_SINGLE_COLUMN - Static variable in class com.asprise.ocr.Ocr
-
- PROP_PAGE_TYPE_SINGLE_LINE - Static variable in class com.asprise.ocr.Ocr
-
- PROP_PAGE_TYPE_SINGLE_WORD - Static variable in class com.asprise.ocr.Ocr
-
- PROP_PDF_OUTPUT_CONF_THRESHOLD - Static variable in class com.asprise.ocr.Ocr
-
Valid value: 0 ~ 100 - text recognized below or above confidence will be highlighted in different colors.
- PROP_PDF_OUTPUT_FILE - Static variable in class com.asprise.ocr.Ocr
-
PDF output file - required for PDF output.
- PROP_PDF_OUTPUT_FONT - Static variable in class com.asprise.ocr.Ocr
-
Font to be used for PDF output.
- PROP_PDF_OUTPUT_IMAGE_DPI - Static variable in class com.asprise.ocr.Ocr
-
The DPI of the images or '0' to auto-detect.
- PROP_PDF_OUTPUT_IMAGE_FORCE_BW - Static variable in class com.asprise.ocr.Ocr
-
Convert images into black/white to reduce PDF output file size.
- PROP_PDF_OUTPUT_RETURN_TEXT - Static variable in class com.asprise.ocr.Ocr
-
Return text in 'text' or 'xml' format when the output format is set to PDF.
- PROP_PDF_OUTPUT_RETURN_TEXT_FORMAT_PLAINTEXT - Static variable in class com.asprise.ocr.Ocr
-
- PROP_PDF_OUTPUT_RETURN_TEXT_FORMAT_XML - Static variable in class com.asprise.ocr.Ocr
-
- PROP_PDF_OUTPUT_TEXT_VISIBLE - Static variable in class com.asprise.ocr.Ocr
-
Make text visible - for debugging and analysis purpose.
- PROP_RTF_OUTPUT_FILE - Static variable in class com.asprise.ocr.Ocr
-
RTF output file - required for RTF output.
- PROP_RTF_OUTPUT_RETURN_TEXT - Static variable in class com.asprise.ocr.Ocr
-
Return text in 'text' or 'xml' format when the output format is set to RTF.
- PROP_RTF_OUTPUT_RETURN_TEXT_FORMAT_PLAINTEXT - Static variable in class com.asprise.ocr.Ocr
-
- PROP_RTF_OUTPUT_RETURN_TEXT_FORMAT_XML - Static variable in class com.asprise.ocr.Ocr
-
- PROP_RTF_PAPER_SIZE - Static variable in class com.asprise.ocr.Ocr
-
default is LETTER, may set to A4.
- PROP_SAVE_INTERMEDIATE_IMAGES_TO_DIR - Static variable in class com.asprise.ocr.Ocr
-
Save intermediate images generated for debug purpose - don't specify or empty string to skip saving
- PROP_TABLE_MIN_SIDE_LENGTH - Static variable in class com.asprise.ocr.Ocr
-
default is 31 if not specified
- PROP_TABLE_SKIP_DETECTION - Static variable in class com.asprise.ocr.Ocr
-
table will be detected by default; set this property to true to skip detection.
- PropertyBuilder() - Constructor for class com.asprise.ocr.Ocr.PropertyBuilder
-
- propsToString(Properties) - Static method in class com.asprise.ocr.Ocr
-
- saveAocrXslToDir(File, boolean) - Static method in class com.asprise.ocr.Ocr
-
Saves aocr.xsl to the specified directory
- saveIntermediateImagesToDir(File) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Save intermediate images generated for debug purpose - don't specify or empty string to skip saving
- setCustomImagePreProcessing(String) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
set the image pre-processing type to
CUSTOM and the corresponding custom commands.
- setDictCustomDictFile(File) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Path to your custom dictionary (words are separated using line breaks).
- setDictCustomTemplatesFile(File) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Path to your custom templates (templates are separated using line breaks).
- setDictImportance(int) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Percentage measuring the importance of the dictionary (0: not at all; 100: extremely important; default: 10)
- setDictSkipBuiltInAll(boolean) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
set to 'true' to skip using all built-in dicts.
- setDictSkipBuiltInDefault(boolean) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
set to 'true' to skip using the default built in dict.
- setImagePreProcessingType(Ocr.ImagePreProcessingType) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Sets the image pre-processing type
- setInputPdfDpi(int) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
The DPI to be used to render the PDF file; default is 300 if not specified
- setLimitToCharset(String) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
recognizes only certain characters
- setLimitToCharsetDigitsOnly() - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
only recognizes '0123456789'
- setOutputSeparateWords(boolean) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
whether to use word as the base unit for output; set to false to use the default unit: line.
- setPageType(Ocr.PageType) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
hints the page type to the OCR engine
- setPageType(String) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
hints the page type to the OCR engine
- setPdfImageForceBlackWhite(boolean) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
true to convert image in PDF to black/white to save space false for keeping as is (default).
- setPdfOutputFile(File) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Target pdf output file when output format is set to pdf
- setPdfOutputFile(String) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Target pdf output file when output format is set to pdf
- setPdfOutputFontSans(boolean) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
true to set PDF output font to Sans, false to Serif (default).
- setPdfOutputReturnNothing() - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Return neither plain text nor xml when the output format is set to PDF.
- setPdfOutputReturnPlainText() - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Return plain text when the output format is set to PDF.
- setPdfOutputReturnXml() - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Return xml when the output format is set to PDF.
- setPdfTextVisible(boolean) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
true to make text recognized visible on PDF or false for transparent (default).
- setRtfOutputFile(File) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Target rtf output file when output format is set to rtf
- setRtfOutputReturnNothing() - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Return neither plain text nor xml when the output format is set to RTF.
- setRtfOutputReturnPlainText() - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Return plain text when the output format is set to RTF.
- setRtfOutputReturnXml() - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Return xml when the output format is set to rtf.
- setSkipTableDetection(boolean) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Whether table detection should be skipped.
- setTableDetectionMinSideLength(int) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
-
Sets the min side length of a table cell when table detection is enabled.
- setUp() - Static method in class com.asprise.ocr.Ocr
-
Performs one-time setup; does nothing if setup has already been done.
- shutdown() - Method in class com.asprise.ocr.OcrExecutorService
-
- SPEED_FAST - Static variable in class com.asprise.ocr.Ocr
-
less speed, better accuracy
- SPEED_FASTEST - Static variable in class com.asprise.ocr.Ocr
-
Highest speed, accuracy may suffer - default option
- SPEED_SLOW - Static variable in class com.asprise.ocr.Ocr
-
lowest speed, best accuracy
- START_PROP_DICT_CUSTOM_DICT_FILE - Static variable in class com.asprise.ocr.Ocr
-
Path to your custom dictionary (words are separated using line breaks).
- START_PROP_DICT_CUSTOM_TEMPLATES_FILE - Static variable in class com.asprise.ocr.Ocr
-
Path to your custom templates (templates are separated using line breaks).
- START_PROP_DICT_SKIP_BUILT_IN_ALL - Static variable in class com.asprise.ocr.Ocr
-
set to 'true' to skip using all built-in dicts.
- START_PROP_DICT_SKIP_BUILT_IN_DEFAULT - Static variable in class com.asprise.ocr.Ocr
-
set to 'true' to skip using the default built in dict.
- startEngine(String, String, Object...) - Method in class com.asprise.ocr.Ocr
-
Starts the OCR engine with optional properties (e.g., to specify dictionary/templates file)
- stopEngine() - Method in class com.asprise.ocr.Ocr
-
Stops the OCR engine; does nothing if it has already been stopped.
- stopOcrEngines() - Method in class com.asprise.ocr.OcrExecutorService
-