InterfaceIOcrProvider
Interface
Contract for OCR engines that extract text from images for search, selection, or analysis.
Definition
Namespace:Telerik.Windows.Documents.Ocr
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
cs-api-definition
public interface IOcrProvider
Properties
ParseLevel
Gets or sets the parsing granularity used by the OCR engine (word- or line-level).
Methods
GetAllTextFromImage(byte[])
Extract all text from the image and return a single concatenated string.
GetTextFromImage(byte[])
Extract text with word-level bounding boxes, returning a map of regions to recognized strings.
Declaration
cs-api-definition
Dictionary<Rectangle, string> GetTextFromImage(byte[] imageBytes)
Parameters
imageBytes
byte[]
The bytes of the image.
Returns
Words with corresponding bounding rectangles