OcrSkill Class

Definition

A skill that extracts text from image files.

public final class OcrSkill extends SearchIndexerSkill
Inheritance
java.lang.Object
OcrSkill

Inherited Members

SearchIndexerSkill.getContext() SearchIndexerSkill.getDescription() SearchIndexerSkill.getInputs() SearchIndexerSkill.getName() SearchIndexerSkill.getOutputs() SearchIndexerSkill.setContext(String context) SearchIndexerSkill.setDescription(String description) SearchIndexerSkill.setName(String name) java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

OcrSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs)

Constructor of OcrSkill.

Methods

getDefaultLanguageCode()

Get the defaultLanguageCode property: A value indicating which language code to use. Default is en. Possible values include: 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', 'sr-Cyrl', 'sr-Latn', 'sk'.

isShouldDetectOrientation()

Get the shouldDetectOrientation property: A value indicating to turn orientation detection on or not. Default is false.

setDefaultLanguageCode(OcrSkillLanguage defaultLanguageCode)

Set the defaultLanguageCode property: A value indicating which language code to use. Default is en. Possible values include: 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', 'sr-Cyrl', 'sr-Latn', 'sk'.

setShouldDetectOrientation()

Get the shouldDetectOrientation property: A value indicating to turn orientation detection on or not. Default is false.

setShouldDetectOrientation(Boolean shouldDetectOrientation)

Set the shouldDetectOrientation property: A value indicating to turn orientation detection on or not. Default is false.

Applies to