Delen via


OcrSkill Class

Definition

A skill that extracts text from image files.

public class OcrSkill : Azure.Search.Documents.Indexes.Models.SearchIndexerSkill
type OcrSkill = class
    inherit SearchIndexerSkill
Public Class OcrSkill
Inherits SearchIndexerSkill
Inheritance

Constructors

OcrSkill(IEnumerable<InputFieldMappingEntry>, IEnumerable<OutputFieldMappingEntry>)

Initializes a new instance of OcrSkill.

Properties

Context

Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.

(Inherited from SearchIndexerSkill)
DefaultLanguageCode

A value indicating which language code to use. Default is En.

Description

The description of the skill which describes the inputs, outputs, and usage of the skill.

(Inherited from SearchIndexerSkill)
Inputs

Inputs of the skills could be a column in the source data set, or the output of an upstream skill.

(Inherited from SearchIndexerSkill)
LineEnding

Defines the sequence of characters to use between the lines of text recognized by the OCR skill. The default value is "space".

Name

The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array prefaced with the character "#" in debug sessions and error messages.

(Inherited from SearchIndexerSkill)
Outputs

The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.

(Inherited from SearchIndexerSkill)
ShouldDetectOrientation

A value indicating to turn orientation detection on or not. Default is false.

Applies to