次の方法で共有


ImageModerationExtensions.OCRMethod メソッド

定義

画像内で見つかった指定した言語のテキストをすべて返します。 入力に言語が指定されていない場合は、既定で英語に設定されます。

public static Microsoft.Azure.CognitiveServices.ContentModerator.Models.OCR OCRMethod (this Microsoft.Azure.CognitiveServices.ContentModerator.IImageModeration operations, string language, bool? cacheImage = default, bool? enhanced = False);
static member OCRMethod : Microsoft.Azure.CognitiveServices.ContentModerator.IImageModeration * string * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.OCR
<Extension()>
Public Function OCRMethod (operations As IImageModeration, language As String, Optional cacheImage As Nullable(Of Boolean) = Nothing, Optional enhanced As Nullable(Of Boolean) = False) As OCR

パラメーター

operations
IImageModeration

この拡張メソッドの操作グループ。

language
String

用語の言語。

cacheImage
Nullable<Boolean>

提出された画像を将来の使用のために保持するかどうか。省略した場合、既定値は false になります。

enhanced
Nullable<Boolean>

True に設定すると、画像は追加の処理を経て、追加の候補が表示されます。

拡張が true に設定されている場合、image/tiff はサポートされません

注: これは応答時間に影響します。

戻り値

OCR

適用対象