Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
OcrSkill Class
Definition
- Namespace:
- Azure.Search.Documents.Indexes.Models
- Assembly:
- Azure.Search.Documents.dll
- Package:
- Azure.Search.Documents v12.0.0
- Package:
- Azure.Search.Documents v12.1.0-beta.1
- Source:
- OcrSkill.cs
- Source:
- OcrSkill.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A skill that extracts text from image files.
public class OcrSkill : Azure.Search.Documents.Indexes.Models.SearchIndexerSkill, System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.OcrSkill>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.OcrSkill>
type OcrSkill = class
inherit SearchIndexerSkill
interface IJsonModel<OcrSkill>
interface IPersistableModel<OcrSkill>
Public Class OcrSkill
Inherits SearchIndexerSkill
Implements IJsonModel(Of OcrSkill), IPersistableModel(Of OcrSkill)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| OcrSkill(IEnumerable<InputFieldMappingEntry>, IEnumerable<OutputFieldMappingEntry>) |
Initializes a new instance of OcrSkill. |
Properties
| Name | Description |
|---|---|
| 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, prefixed with the character '#'. (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 |
Methods
Explicit Interface Implementations
Applies to
Azure SDK for .NET
Feedback
Was this page helpful?
