Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Windows.Media.Ocr Namespace

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.

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

Classes

Name Description
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


Feedback

Was this page helpful?