你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OcrSkill interface

从图像文件中提取文本的技能。

扩展

属性

defaultLanguageCode

一个值,该值指示要使用的语言代码。 默认值为 en。

odatatype

多态鉴别器,它指定此对象可以的不同类型的

shouldDetectOrientation

指示打开或不打开方向检测的值。 默认值为 false。

继承属性

context

表示执行操作的级别,例如文档根或文档内容(例如 /document 或 /document/content)。 默认值为 /document。

description

描述技能的说明,描述技能的输入、输出和用法。

inputs

技能的输入可以是源数据集中的列,也可以是上游技能的输出。

name

唯一标识技能集内的技能的名称。 未定义名称的技能将在技能数组中为其基于 1 的索引提供默认名称,其前缀为字符“#”。

outputs

技能的输出是搜索索引中的字段,或者是另一个技能可以用作输入的值。

属性详细信息

defaultLanguageCode

一个值,该值指示要使用的语言代码。 默认值为 en。

defaultLanguageCode?: "da" | "de" | "en" | "es" | "fi" | "fr" | "it" | "ko" | "pt" | "ar" | "cs" | "zh-Hans" | "zh-Hant" | "nl" | "el" | "hu" | "ja" | "no" | "pl" | "ru" | "sv" | "tr" | "az" | "bg" | "bs" | "ca" | "cy" | "et" | "eu" | "ga" | "gl" | "hi" | "hr" | "id" | "lt" | "ms" | "nb" | "prs" | "ro" | "sk" | "sl" | "sr-Cyrl" | "sr-Latn" | "af" | "sq" | "anp" | "ast" | "awa" | "bfy" | "be" | "be-cyrl" | "be-latn" | "bho" | "bi" | "brx" | "bra" | "br" | "bns" | "bua" | "ceb" | "rab" | "ch" | "hne" | "kw" | "co" | "crh" | "dhi" | "doi" | "myv" | "fo" | "fj" | "fil" | "fur" | "gag" | "gil" | "gon" | "kl" | "gvr" | "ht" | "hlb" | "hni" | "bgc" | "haw" | "mww" | "hoc" | "is" | "smn" | "ia" | "iu" | "Jns" | "jv" | "kea" | "kac" | "xnr" | "krc" | "kaa-cyrl" | "kaa" | "csb" | "kk-cyrl" | "kk-latn" | "klr" | "kha" | "quc" | "kfq" | "kpy" | "kos" | "kum" | "ku-arab" | "ku-latn" | "kru" | "ky" | "lkt" | "la" | "dsb" | "smj" | "lb" | "bfz" | "mt" | "kmj" | "gv" | "mi" | "mr" | "mn" | "cnr-cyrl" | "cnr-latn" | "nap" | "ne" | "niu" | "nog" | "sme" | "oc" | "os" | "ps" | "fa" | "pa" | "ksh" | "rm" | "sck" | "sm" | "sa" | "sat" | "sco" | "gd" | "sr" | "xsr" | "srx" | "sms" | "so" | "sma" | "sw" | "tg" | "tt" | "tet" | "thf" | "to" | "tk" | "tyv" | "hsb" | "ur" | "ug" | "uz-arab" | "uz-cyrl" | "uz" | "vo" | "wae" | "fy" | "yua" | "za" | "zu" | "unk"

属性值

"da" | "de" | "en" | "es" | "fi" | "fr" | "it" | "ko" | "pt" | "ar" | "cs" | "zh-Hans" | "zh-Hant" | "nl" | "el" | "hu" | "ja" | "no" | "pl" | "ru" | "sv" | "tr" | "az" | "bg" | "bs" | "ca" | "cy" | "et" | "eu" | "ga" | "gl" | "hi" | "hr" | "id" | "lt" | "ms" | "nb" | "prs" | "ro" | "sk" | "sl" | "sr-Cyrl" | "sr-Latn" | "af" | "sq" | "anp" | "ast" | "awa" | "bfy" | "be" | "be-cyrl" | "be-latn" | "bho" | "bi" | "brx" | "bra" | "br" | "bns" | "bua" | "ceb" | "rab" | "ch" | "hne" | "kw" | "co" | "crh" | "dhi" | "doi" | "myv" | "fo" | "fj" | "fil" | "fur" | "gag" | "gil" | "gon" | "kl" | "gvr" | "ht" | "hlb" | "hni" | "bgc" | "haw" | "mww" | "hoc" | "is" | "smn" | "ia" | "iu" | "Jns" | "jv" | "kea" | "kac" | "xnr" | "krc" | "kaa-cyrl" | "kaa" | "csb" | "kk-cyrl" | "kk-latn" | "klr" | "kha" | "quc" | "kfq" | "kpy" | "kos" | "kum" | "ku-arab" | "ku-latn" | "kru" | "ky" | "lkt" | "la" | "dsb" | "smj" | "lb" | "bfz" | "mt" | "kmj" | "gv" | "mi" | "mr" | "mn" | "cnr-cyrl" | "cnr-latn" | "nap" | "ne" | "niu" | "nog" | "sme" | "oc" | "os" | "ps" | "fa" | "pa" | "ksh" | "rm" | "sck" | "sm" | "sa" | "sat" | "sco" | "gd" | "sr" | "xsr" | "srx" | "sms" | "so" | "sma" | "sw" | "tg" | "tt" | "tet" | "thf" | "to" | "tk" | "tyv" | "hsb" | "ur" | "ug" | "uz-arab" | "uz-cyrl" | "uz" | "vo" | "wae" | "fy" | "yua" | "za" | "zu" | "unk"

odatatype

多态鉴别器,它指定此对象可以的不同类型的

odatatype: "#Microsoft.Skills.Vision.OcrSkill"

属性值

"#Microsoft.Skills.Vision.OcrSkill"

shouldDetectOrientation

指示打开或不打开方向检测的值。 默认值为 false。

shouldDetectOrientation?: boolean

属性值

boolean

继承属性详细信息

context

表示执行操作的级别,例如文档根或文档内容(例如 /document 或 /document/content)。 默认值为 /document。

context?: string

属性值

string

继承自BaseSearchIndexerSkill.context

description

描述技能的说明,描述技能的输入、输出和用法。

description?: string

属性值

string

继承自BaseSearchIndexerSkill.description

inputs

技能的输入可以是源数据集中的列,也可以是上游技能的输出。

inputs: InputFieldMappingEntry[]

属性值

继承自BaseSearchIndexerSkill.inputs

name

唯一标识技能集内的技能的名称。 未定义名称的技能将在技能数组中为其基于 1 的索引提供默认名称,其前缀为字符“#”。

name?: string

属性值

string

继承自BaseSearchIndexerSkill.name

outputs

技能的输出是搜索索引中的字段,或者是另一个技能可以用作输入的值。

outputs: OutputFieldMappingEntry[]

属性值

继承自baseSearchIndexerSkill.outputs