Skip navigation links
A B C D E F G I J L M O P R S T U V W 

A

ActionBase - Class in com.asprise.ocr.sample.util
 
ActionBase() - Constructor for class com.asprise.ocr.sample.util.ActionBase
 
ActionBase(String) - Constructor for class com.asprise.ocr.sample.util.ActionBase
 
ActionBase(String, Icon) - Constructor for class com.asprise.ocr.sample.util.ActionBase
 
ActionBase(String, Icon, Icon, String, String, int, int) - Constructor for class com.asprise.ocr.sample.util.ActionBase
 
additionalPaint(JComponent, Graphics2D, int, int) - Method in interface com.asprise.ocr.sample.util.AdditionalPaintable
 
additionalPaint(Graphics2D, int, int) - Method in interface com.asprise.ocr.sample.util.JPanelGradient.AdditionalPaint
 
AdditionalPaintable - Interface in com.asprise.ocr.sample.util
 
afterExecute(Runnable, Throwable) - Method in class com.asprise.ocr.OcrExecutorService
 
autoAwesomeLookAndFeel(String, Map<Object, Object>) - Static method in class com.asprise.ocr.sample.DemoUtils
 

B

Base64 - Class in com.asprise.ocr.sample.util.prefs
 
Base64() - Constructor for class com.asprise.ocr.sample.util.prefs.Base64
 
base64ToByteArray(String) - Static method in class com.asprise.ocr.sample.util.prefs.Base64
 
beforeExecute(Thread, Runnable) - Method in class com.asprise.ocr.OcrExecutorService
 
bgGradient1 - Variable in class com.asprise.ocr.sample.util.JPanelGradient
 
bgGradient2 - Variable in class com.asprise.ocr.sample.util.JPanelGradient
 
border - Variable in class com.asprise.ocr.sample.util.JPanelGradient
 
byteArrayToBase64(byte[]) - Static method in class com.asprise.ocr.sample.util.prefs.Base64
 

C

call() - Method in class com.asprise.ocr.OcrExecutorService.OcrCallable
 
clearFlags(long, long...) - Static method in class com.asprise.ocr.util.Utils
 
color - Variable in class com.asprise.ocr.sample.util.RoundedBorder
 
com.asprise.ocr - package com.asprise.ocr
 
com.asprise.ocr.sample - package com.asprise.ocr.sample
 
com.asprise.ocr.sample.util - package com.asprise.ocr.sample.util
 
com.asprise.ocr.sample.util.prefs - package com.asprise.ocr.sample.util.prefs
 
com.asprise.ocr.util - package com.asprise.ocr.util
 
CONFIG_PROP_KEY_VALUE_SEPARATOR - Static variable in class com.asprise.ocr.Ocr
Do not change unless you are told so.
CONFIG_PROP_SEPARATOR - Static variable in class com.asprise.ocr.Ocr
Do not change unless you are told so.
cornerRadius - Variable in class com.asprise.ocr.sample.util.RoundedBorder
 
createTranslucentImage(int, int) - Static method in class com.asprise.ocr.sample.util.RoundedBorder
 

D

debug(String, Throwable) - Method in class com.asprise.ocr.util.LogAdapter
 
deleteDirectory(File) - Static method in class com.asprise.ocr.util.Utils
 
DemoUtils - Class in com.asprise.ocr.sample
 
DemoUtils() - Constructor for class com.asprise.ocr.sample.DemoUtils
 
deriveColorAlpha(Color, int) - Static method in class com.asprise.ocr.sample.util.RoundedBorder
 
deriveColorHSB(Color, float, float, float) - Static method in class com.asprise.ocr.sample.util.RoundedBorder
 
displayErrorDialogAndThrowException(String, Throwable, boolean) - Static method in class com.asprise.ocr.util.Utils
 

E

enableMenu(JTextComponent) - Static method in class com.asprise.ocr.sample.DemoUtils
 
equals(String, String, boolean) - Static method in class com.asprise.ocr.util.StringUtils
 
error(String, Throwable) - Method in class com.asprise.ocr.util.LogAdapter
 
execute(boolean, boolean, boolean, String[], File, String[]) - Static method in class com.asprise.ocr.util.Utils
 
extractResourceToFolder(ClassLoader, String, File, boolean) - Static method in class com.asprise.ocr.util.Utils
 

F

FileSystemPreferencesFactory - Class in com.asprise.ocr.sample.util.prefs
 
FileSystemPreferencesFactory() - Constructor for class com.asprise.ocr.sample.util.prefs.FileSystemPreferencesFactory
 
firstNotEmpty(String...) - Static method in class com.asprise.ocr.util.Utils
 
firstNotNull(Object...) - Static method in class com.asprise.ocr.util.Utils
 
fixPrefsWarning() - Static method in class com.asprise.ocr.sample.DemoUtils
 
flagToString(long, Object...) - Static method in class com.asprise.ocr.util.Utils
 
FrameOcrSample - Class in com.asprise.ocr.sample
 
FrameOcrSample() - Constructor for class com.asprise.ocr.sample.FrameOcrSample
 

G

getAcceleratorKey() - Method in class com.asprise.ocr.sample.util.ActionBase
 
getAdditionalPaint() - Method in class com.asprise.ocr.sample.util.JPanelGradient
 
getAdditionalPaint() - Method in class com.asprise.ocr.sample.util.JTextAreaAdditionalPaintable
 
getApplicationIconsLogo() - Static method in class com.asprise.ocr.sample.DemoUtils
 
getBorderInsets(Component) - Method in class com.asprise.ocr.sample.util.RoundedBorder
 
getBorderInsets(Component, Insets) - Method in class com.asprise.ocr.sample.util.RoundedBorder
 
getButtonOcr() - Method in class com.asprise.ocr.sample.PanelOcrInput
 
getConsoleMode() - Static method in class com.asprise.ocr.Ocr
-1 unknow / 0 no / 1 yes
getContainingWindow(Component) - Static method in class com.asprise.ocr.sample.PanelLogging
 
getCornerRadius() - Method in class com.asprise.ocr.sample.util.RoundedBorder
 
getCpuCores() - Static method in class com.asprise.ocr.OcrExecutorService
Returns number of CPU core available for the current JVM.
getEnvInfo(boolean) - Static method in class com.asprise.ocr.util.Utils
 
getFileExtensionWithoutDot(String) - Static method in class com.asprise.ocr.util.Utils
 
getFileFilterForExtensions(String[], boolean) - Static method in class com.asprise.ocr.sample.DemoUtils
 
getFileImage() - Method in class com.asprise.ocr.sample.PanelOcrInput
 
getLanguage() - Method in class com.asprise.ocr.sample.PanelOcrInput
 
getLargeIcon() - Method in class com.asprise.ocr.sample.util.ActionBase
 
getLibraryVersion() - Static method in class com.asprise.ocr.Ocr
The library version.
getLibraryVersion(boolean) - Static method in class com.asprise.ocr.Ocr
The library version.
getLongDescription() - Method in class com.asprise.ocr.sample.util.ActionBase
 
getName() - Method in class com.asprise.ocr.sample.util.ActionBase
 
getOutputFormat() - Method in class com.asprise.ocr.sample.PanelOcrInput
 
getRawText() - Method in class com.asprise.ocr.sample.util.LinkLabel
 
getRecognizeType() - Method in class com.asprise.ocr.sample.PanelOcrInput
 
getRunInfo() - Static method in class com.asprise.ocr.util.Utils
 
getShortDescription() - Method in class com.asprise.ocr.sample.util.ActionBase
 
getSmallIcon() - Method in class com.asprise.ocr.sample.util.ActionBase
 
getTempFolderWritable() - Static method in class com.asprise.ocr.util.Utils
 
getText(JComboBox) - Static method in class com.asprise.ocr.sample.DemoUtils
 
getTextLayout() - Method in class com.asprise.ocr.sample.PanelOcrInput
 

I

info(String, Throwable) - Method in class com.asprise.ocr.util.LogAdapter
 
is32Bit() - Static method in class com.asprise.ocr.util.Utils
 
is64Bit() - Static method in class com.asprise.ocr.util.Utils
 
isAutoRotatePagesChecked() - Method in class com.asprise.ocr.sample.PanelOcrInput
 
isBorderOpaque() - Method in class com.asprise.ocr.sample.util.RoundedBorder
 
isDataCaptureChecked() - Method in class com.asprise.ocr.sample.PanelOcrInput
 
isEmpty(CharSequence) - Static method in class com.asprise.ocr.util.StringUtils
 
isEngineRunning() - Method in class com.asprise.ocr.Ocr
Returns true only if the engine has been started and has not been stopped yet.
isImageFileOk() - Method in class com.asprise.ocr.sample.PanelOcrInput
 
isLaptop() - Static method in class com.asprise.ocr.util.Utils
 
isMac() - Static method in class com.asprise.ocr.sample.DemoUtils
 
isMac() - Static method in class com.asprise.ocr.util.Utils
 
isPdfHighlightTextChecked() - Method in class com.asprise.ocr.sample.PanelOcrInput
 
isSetupRequired() - Static method in class com.asprise.ocr.Ocr
Whether one-time setup is required.
isWindows() - Static method in class com.asprise.ocr.sample.DemoUtils
 
isWindows() - Static method in class com.asprise.ocr.util.Utils
 
isWordLevelChecked() - Method in class com.asprise.ocr.sample.PanelOcrInput
 

J

JPanelGradient - Class in com.asprise.ocr.sample.util
 
JPanelGradient() - Constructor for class com.asprise.ocr.sample.util.JPanelGradient
 
JPanelGradient(int, Color, Color, Color) - Constructor for class com.asprise.ocr.sample.util.JPanelGradient
 
JPanelGradient.AdditionalPaint - Interface in com.asprise.ocr.sample.util
 
JTextAreaAdditionalPaintable - Class in com.asprise.ocr.sample.util
 
JTextAreaAdditionalPaintable() - Constructor for class com.asprise.ocr.sample.util.JTextAreaAdditionalPaintable
 

L

LANGUAGE_DEU - Static variable in class com.asprise.ocr.Ocr
deu (German)
LANGUAGE_ENG - Static variable in class com.asprise.ocr.Ocr
eng (English)
LANGUAGE_FRA - Static variable in class com.asprise.ocr.Ocr
fra (French)
LANGUAGE_POR - Static variable in class com.asprise.ocr.Ocr
por (Portuguese)
LANGUAGE_SPA - Static variable in class com.asprise.ocr.Ocr
spa (Spanish)
LinkLabel - Class in com.asprise.ocr.sample.util
 
LinkLabel() - Constructor for class com.asprise.ocr.sample.util.LinkLabel
 
LinkLabel(String, URI) - Constructor for class com.asprise.ocr.sample.util.LinkLabel
 
LinkLabel(String, String) - Constructor for class com.asprise.ocr.sample.util.LinkLabel
 
listSupportedLanguages() - Static method in class com.asprise.ocr.Ocr
Returns all supported languages.
loadDllAndReturnVersion(String) - Static method in class com.asprise.ocr.util.OcrLibHelper
 
loaded - Static variable in class com.asprise.ocr.util.OcrLibHelper
 
loadOcrLib() - Static method in class com.asprise.ocr.util.OcrLibHelper
 
loadPrefs(Preferences, String, JComboBox) - Static method in class com.asprise.ocr.sample.DemoUtils
 
log(String) - Method in class com.asprise.ocr.sample.PanelLogging
 
log(String) - Static method in class com.asprise.ocr.util.OcrLibHelper
 
LogAdapter - Class in com.asprise.ocr.util
 
LogAdapter(Object) - Constructor for class com.asprise.ocr.util.LogAdapter
 

M

main(String[]) - Static method in class com.asprise.ocr.Ocr
Displays the library version and optional performs OCR on the input file.
main(String[]) - Static method in class com.asprise.ocr.sample.FrameOcrSample
 
main(String[]) - Static method in class com.asprise.ocr.sample.PanelOcrInput
 
main(String[]) - Static method in class com.asprise.ocr.sample.util.prefs.Base64
 
main(String[]) - Static method in class com.asprise.ocr.sample.util.prefs.FileSystemPreferencesFactory
 
main(String[]) - Static method in class com.asprise.ocr.util.OcrLibHelper
 
main(String[]) - Static method in class com.asprise.ocr.util.Utils
 

O

Ocr - Class in com.asprise.ocr
Represents an engine of Asprise OCR - a high performance OCR engine for Java/C#/VB.NET/C/C++ on Windows, Linux, Mac OS X and Unix.
Ocr() - Constructor for class com.asprise.ocr.Ocr
 
Ocr.ImagePreProcessingType - Enum in com.asprise.ocr
Image pre-processing type
Ocr.PageType - Enum in com.asprise.ocr
Page type hint
Ocr.PropertyBuilder - Class in com.asprise.ocr
Builder for configuring scan properties.
OcrCallable(File[], String, String, Object...) - Constructor for class com.asprise.ocr.OcrExecutorService.OcrCallable
OcrCallable(String, int, int, int, int, int, String, String, Object...) - Constructor for class com.asprise.ocr.OcrExecutorService.OcrCallable
OcrException - Exception in com.asprise.ocr
Ocr related exception.
OcrException() - Constructor for exception com.asprise.ocr.OcrException
 
OcrException(String) - Constructor for exception com.asprise.ocr.OcrException
 
OcrException(String, Throwable) - Constructor for exception com.asprise.ocr.OcrException
 
OcrException(Throwable) - Constructor for exception com.asprise.ocr.OcrException
 
OcrExecutorService - Class in com.asprise.ocr
Executor service for OCR.
OcrExecutorService(String, String) - Constructor for class com.asprise.ocr.OcrExecutorService
A service executor with thread count equal to number of CPU core available.
OcrExecutorService(String, String, int) - Constructor for class com.asprise.ocr.OcrExecutorService
Creates a new instance of OCR service executor
OcrExecutorService.OcrCallable - Class in com.asprise.ocr
Represents an OCR task.
OcrLibHelper - Class in com.asprise.ocr.util
 
OcrLibHelper() - Constructor for class com.asprise.ocr.util.OcrLibHelper
 
openInFileExplorer(String) - Static method in class com.asprise.ocr.util.Utils
 
OUTPUT_FORMAT_PDF - Static variable in class com.asprise.ocr.Ocr
Output recognition result as searchable PDF
OUTPUT_FORMAT_PLAINTEXT - Static variable in class com.asprise.ocr.Ocr
Output recognition result as plain text
OUTPUT_FORMAT_XML - Static variable in class com.asprise.ocr.Ocr
Output recognition result in XML format with additional information if coordination, confidence, runtime, etc.

P

PAGES_ALL - Static variable in class com.asprise.ocr.Ocr
Recognize all pages.
paintBorder(Component, Graphics, int, int, int, int) - Method in class com.asprise.ocr.sample.util.RoundedBorder
 
paintComponent(Graphics) - Method in class com.asprise.ocr.sample.util.JPanelGradient
 
paintComponent(Graphics) - Method in class com.asprise.ocr.sample.util.JTextAreaAdditionalPaintable
 
PanelLogging - Class in com.asprise.ocr.sample
 
PanelLogging() - Constructor for class com.asprise.ocr.sample.PanelLogging
 
PanelOcrInput - Class in com.asprise.ocr.sample
 
PanelOcrInput() - Constructor for class com.asprise.ocr.sample.PanelOcrInput
 
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_FORMAT - 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_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
 

R

random(int, boolean, boolean) - Static method in class com.asprise.ocr.util.StringUtils
 
random(int, int, int, boolean, boolean) - Static method in class com.asprise.ocr.util.StringUtils
 
random(int, int, int, boolean, boolean, char[], Random) - Static method in class com.asprise.ocr.util.StringUtils
 
randomAlphanumeric(int) - Static method in class com.asprise.ocr.util.StringUtils
 
readProperties(Object[]) - Static method in class com.asprise.ocr.Ocr
 
recognize(URL[], String, String, Object...) - Method in class com.asprise.ocr.Ocr
Performs text/barcode recognition on the given files with the specified output format.
recognize(File[], String, String, Object...) - Method in class com.asprise.ocr.Ocr
Performs text/barcode recognition on the given files with the specified output format.
recognize(RenderedImage, String, String, Object...) - Method in class com.asprise.ocr.Ocr
Performs text/barcode recognition on the given image with the specified output format.
recognize(String, int, int, int, int, int, String, String, Object...) - Method in class com.asprise.ocr.Ocr
Performs OCR on the given input files.
RECOGNIZE_TYPE_ALL - Static variable in class com.asprise.ocr.Ocr
Recognize both text and barcode
RECOGNIZE_TYPE_BARCODE - Static variable in class com.asprise.ocr.Ocr
Recognize barcode
RECOGNIZE_TYPE_TEXT - Static variable in class com.asprise.ocr.Ocr
Recognize text
registerBrowseButtonListener(JComboBox, JButton, boolean, boolean, FileFilter, File) - Static method in class com.asprise.ocr.sample.DemoUtils
 
RoundedBorder - Class in com.asprise.ocr.sample.util
 
RoundedBorder() - Constructor for class com.asprise.ocr.sample.util.RoundedBorder
 
RoundedBorder(int, Color) - Constructor for class com.asprise.ocr.sample.util.RoundedBorder
 

S

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
savePrefs(Preferences, String, JComboBox, String) - Static method in class com.asprise.ocr.sample.DemoUtils
 
savePrefs() - Method in class com.asprise.ocr.sample.PanelOcrInput
 
saveToFile(URL, File) - Static method in class com.asprise.ocr.util.Utils
 
setAcceleratorKey(KeyStroke) - Method in class com.asprise.ocr.sample.util.ActionBase
 
setAcceleratorKey(int, int) - Method in class com.asprise.ocr.sample.util.ActionBase
 
setAdditionalPaint(JPanelGradient.AdditionalPaint) - Method in class com.asprise.ocr.sample.util.JPanelGradient
 
setAdditionalPaint(AdditionalPaintable) - Method in class com.asprise.ocr.sample.util.JTextAreaAdditionalPaintable
 
setBackgroundGradient(Color, Color) - Method in class com.asprise.ocr.sample.util.JPanelGradient
 
setBackgroundGradientColor1(Color) - Method in class com.asprise.ocr.sample.util.JPanelGradient
 
setBackgroundGradientColor2(Color) - Method in class com.asprise.ocr.sample.util.JPanelGradient
 
setBorderColor(Color) - Method in class com.asprise.ocr.sample.util.JPanelGradient
 
setBorderCornerRadius(int) - Method in class com.asprise.ocr.sample.util.JPanelGradient
 
setClipboard(String) - Static method in class com.asprise.ocr.sample.PanelLogging
 
setColor(Color) - Method in class com.asprise.ocr.sample.util.RoundedBorder
 
setCornerRadius(int) - Method in class com.asprise.ocr.sample.util.RoundedBorder
 
setCustomImagePreProcessing(String) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
set the image pre-processing type to Ocr.ImagePreProcessingType.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
setLargeIcon(Icon) - Method in class com.asprise.ocr.sample.util.ActionBase
 
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'
setLongDescription(String) - Method in class com.asprise.ocr.sample.util.ActionBase
 
setName(String) - Method in class com.asprise.ocr.sample.util.ActionBase
 
setOcrLangs(String[]) - Method in class com.asprise.ocr.sample.PanelOcrInput
 
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).
setPreferencesWithXmlBackstoreOnWindows() - Static method in class com.asprise.ocr.sample.DemoUtils
 
setShortDescription(String) - Method in class com.asprise.ocr.sample.util.ActionBase
 
setSkipTableDetection(boolean) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
Whether table detection should be skipped.
setSmallIcon(Icon) - Method in class com.asprise.ocr.sample.util.ActionBase
 
setSystemLookAndFeel() - Static method in class com.asprise.ocr.sample.DemoUtils
 
setTableDetectionMinSideLength(int) - Method in class com.asprise.ocr.Ocr.PropertyBuilder
Sets the min side length of a table cell when table detection is enabled.
setText(String) - Method in class com.asprise.ocr.sample.util.LinkLabel
 
setText(String, boolean) - Method in class com.asprise.ocr.sample.util.LinkLabel
 
setUp() - Static method in class com.asprise.ocr.Ocr
Performs one-time setup; does nothing if setup has already been done.
setup(String, URI) - Method in class com.asprise.ocr.sample.util.LinkLabel
 
showWindowBestSizeAndPosition(Window) - Static method in class com.asprise.ocr.sample.DemoUtils
 
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
split(String, String) - Static method in class com.asprise.ocr.util.StringUtils
 
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
 
StringUtils - Class in com.asprise.ocr.util
 
StringUtils() - Constructor for class com.asprise.ocr.util.StringUtils
 
systemRoot() - Method in class com.asprise.ocr.sample.util.prefs.FileSystemPreferencesFactory
 

T

terminated() - Method in class com.asprise.ocr.OcrExecutorService
 
testCreateFileInside(File) - Static method in class com.asprise.ocr.util.Utils
 
threadLocalOcr - Static variable in class com.asprise.ocr.OcrExecutorService
 
toString() - Method in enum com.asprise.ocr.Ocr.ImagePreProcessingType
 
toString() - Method in enum com.asprise.ocr.Ocr.PageType
 

U

unzipToFolder(File, File) - Static method in class com.asprise.ocr.util.Utils
 
userRoot() - Method in class com.asprise.ocr.sample.util.prefs.FileSystemPreferencesFactory
 
Utils - Class in com.asprise.ocr.util
 
Utils() - Constructor for class com.asprise.ocr.util.Utils
 

V

valueOf(String) - Static method in enum com.asprise.ocr.Ocr.ImagePreProcessingType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.asprise.ocr.Ocr.PageType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.asprise.ocr.Ocr.ImagePreProcessingType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.asprise.ocr.Ocr.PageType
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String, Throwable) - Method in class com.asprise.ocr.util.LogAdapter
 
A B C D E F G I J L M O P R S T U V W 
Skip navigation links

Copyright © 2015. All Rights Reserved.