Interface IOcrProvider
Represents a provider that can extract text from an image.
Namespace: Telerik.Windows.Documents.Ocr
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public interface IOcrProvider
Properties
ParseLevel
Indicates the level of parsing that the OCR processor will perform.
Declaration
OcrParseLevel ParseLevel { get; set; }
Property Value
Methods
GetAllTextFromImage(Byte[])
Extracts all text from an image and returns it as a single string.
Declaration
string GetAllTextFromImage(byte[] imageBytes)
Parameters
System. The bytes of the image. |
Returns
System. The entire text as a string. |
GetTextFromImage(Byte[])
Extracts the text from an image and returns the words and their bounding rectangles.
Declaration
Dictionary<Rectangle, string> GetTextFromImage(byte[] imageBytes)
Parameters
System. The bytes of the image. |
Returns
System. Words with corresponding bounding rectangles |