...
OcrPage ocrResult = tesseractOcr.Recognize();
foreach (OcrTextRegion ocrTextRegion in ocrResult.Regions)
{
Console.WriteLine("- Text region: " + ocrTextRegion);
foreach (OcrParagraph ocrParagraph in ocrTextRegion.Paragraphs)
{
Console.WriteLine(" - Paragraph: " + ocrParagraph);
foreach (OcrTextLine ocrLine in ocrParagraph.TextLines)
{
Console.WriteLine(" - Line: " + ocrLine);
foreach (OcrWord ocrWord in ocrLine.Words)
{
Console.WriteLine(" - Word: " + ocrWord);
foreach (OcrSymbol ocrSymbol in ocrWord.Symbols)
{
Console.WriteLine(" - Symbol: " + ocrSymbol);
}
}
}
}
}
...
Forum 'Code samples'
Code samples for VintaSoft Imaging .NET SDK. Here you can request a code sample.
Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions < Code samples
