Identifying recognition problems

Contents
[ ]

Non-fatal recognition errors are stored as a list of strings in the Warnings property of the recognition result.

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
List<Aspose.OCR.RecognitionResult> results = recognitionEngine.Recognize(input);
// Output warnings
foreach(string warning in result[0].Warnings)
{
	Console.WriteLine(warning);
}