com.aspose.ocr.core.publicapi
Class OCRConfig

java.lang.Object
  extended by com.aspose.ocr.core.publicapi.OCRConfig

public final class OCRConfig
extends Object

Configuration for OCR system.


Constructor Summary
OCRConfig()
           
 
Method Summary
 com.aspose.ocr.core.publicapi.port.IDictionaryReader getDictionaryReader()
          Get or set any of available dictionary readers for post processing, if not set, post processing is not turned on.
 boolean getNeedRotationCorrection()
          Gets or sets a value that indicates whether need picture rotate correction
 boolean getUseDefaultDictionaries()
          If DictionaryReader property is null, this property indicates whether to use default dictionaries
 void setNeedRotationCorrection(boolean value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCRConfig

public OCRConfig()
Method Detail

getNeedRotationCorrection

public boolean getNeedRotationCorrection()
Gets or sets a value that indicates whether need picture rotate correction


setNeedRotationCorrection

public void setNeedRotationCorrection(boolean value)

getDictionaryReader

public com.aspose.ocr.core.publicapi.port.IDictionaryReader getDictionaryReader()
Get or set any of available dictionary readers for post processing, if not set, post processing is not turned on. This property (if not null) overides UseDefaultDictionaries property.


getUseDefaultDictionaries

public boolean getUseDefaultDictionaries()
If DictionaryReader property is null, this property indicates whether to use default dictionaries



Copyright © 2011 Aspose. All Rights Reserved.