Share via


Windows.Media.Ocr Namespace

Provides optical character recognition (OCR) API for reading text from images.

Classes

OcrEngine

Provides optical character recognition (OCR) functionality.

OcrLine

Represents a single line of text recognized by the OCR engine and returned as part of the OcrResult.

OcrResult

Contains the results of Optical Character Recognition (OCR).

OcrWord

Represents a single word in a line of text recognized by the OCR engine and returned as part of the OcrLine.

Remarks

APIs in the Windows.Media.Ocr namespace are only supported for desktop apps with package identity. This means that the app is installed and run from an MSIX package. For more information, see Features that require package identity. For information about calling these APIs from a desktop app, see Call Windows Runtime APIs in desktop apps.

See also