OcrEngine.RecognizeAsync(SoftwareBitmap) 方法

定义

扫描指定图像中的文本,其语言由 RecognizerLanguage 属性指定。

public:
 virtual IAsyncOperation<OcrResult ^> ^ RecognizeAsync(SoftwareBitmap ^ bitmap) = RecognizeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<OcrResult> RecognizeAsync(SoftwareBitmap const& bitmap);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<OcrResult> RecognizeAsync(SoftwareBitmap bitmap);
function recognizeAsync(bitmap)
Public Function RecognizeAsync (bitmap As SoftwareBitmap) As IAsyncOperation(Of OcrResult)

参数

bitmap
SoftwareBitmap

表示未压缩的位图。

返回

OcrEngine 对象启动的 OCR 的结果。

属性

适用于