Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Recognition results in plain text with line breaks can be obtained from the RecognitionText property of RecognitionResult object or returned from RecognizeImage method.
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
// Add an image to OcrInput object
Aspose.OCR.OcrInput input = new Aspose.OCR.OcrInput(Aspose.OCR.InputType.SingleImage);
input.Add("source.png");
// Recognize image
Aspose.OCR.OcrOutput results = recognitionEngine.Recognize(input);
// Show recognition result
Console.WriteLine(result[0].RecognitionText);
You can also extract text blocks from specific image areas or get individual lines.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.