public static class OCROptions.Builder extends Object
OCROptions instance.| Constructor and Description | 
|---|
Builder()
Constructs a  
OCROptions.Builder instance. | 
| Modifier and Type | Method and Description | 
|---|---|
OCROptions | 
build()
Returns a new  
OCROptions instance built from the current state of this builder. | 
OCROptions.Builder | 
withOCRLocale(OCRSupportedLocale ocrSupportedLocale)
Sets input language to be used for OCR, specified by  
OCRSupportedLocale. | 
OCROptions.Builder | 
withOCRType(OCRSupportedType ocrSupportedType)
Sets OCR type, specified by  
OCRSupportedType | 
public OCROptions.Builder withOCRLocale(OCRSupportedLocale ocrSupportedLocale)
OCRSupportedLocale.ocrSupportedLocale - see OCRSupportedLocale. Default value is OCRSupportedLocale.EN_USpublic OCROptions.Builder withOCRType(OCRSupportedType ocrSupportedType)
OCRSupportedTypeocrSupportedType - see OCRSupportedType. Default value is OCRSupportedType.SEARCHABLE_IMAGEpublic OCROptions build()
OCROptions instance built from the current state of this builder.OCROptions instanceCopyright © 2020 Adobe. All rights reserved.