.NET OCR SDK

OCR Library for Multi-page TIFF
Do you want to integrate TIFF text extractor functions into your Visual Studio .NET project? Do you need a .NET text converter for multi-page TIFF image? Are you looking for a OCR scanner library for your .NET web or windows application development? If so, try CnetSDK .NET OCR SDK.This .NET OCR scanner library can be used in C# & VB.NET programming, and widely used to extract text from TIFF images (with multiple pages).
.NET OCR SCANNER LIBRARY FOR TIFF OVERVIEW
CnetSDK .NET OCR SDK is developed and optimized based on Tesseract OCR Engine. This .NET OCR library can easily and accurately detect and recognize text from TIFF file pages. This multi-page TIFF OCR software also works as a .NET TIFF to text converter & extractor that extracts and converts TIFF to text. Also, CnetSDK .NET OCR scanner library will automatically implement image pre-processing (like deskew), which improves the accuracy of multi-page TIFF image OCR.

Please note, if you are using free OCR scanner library trial in VS .NET web or windows application, the first character of TIFF text will be extracted and recognized as "CnetSDK*". Certainly, the licensed package of CnetSDK .NET OCR SDK will OCR TIFF text fully.
.NET OCR SCANNER LIBRARY FOR TIFF C# SAMPLE
After downloading CnetSDK .NET OCR SDK, please add OCR library dll into your C#.NET project. Then copy the following C# sample code to have a quick evaluation of our multi-page TIFF OCR scanner & extractor. It illustrates how to extract and ocr text from TIFF image (all TIFF file pages).

Please Note:

1. OCR language of this C# sample code is English. If you want to recognize other languages, please download respective OCR language data.

2. In the downloaded package, you will find our .NET TIFF OCR scanner dll is placed respectively for x86 and x64 platforms. Please use the suitable .NET OCR scanner library for your C#.NET project. If you choose x64 platform, please copy "CnetSDKOCR_Lept.dll" and "CnetSDKOCR_Tesseract.dll" from x64 folder to the same path of "CnetSDK.OCR.Trial.dll". For x86 platform, please do the same thing.
using System;
using System.Drawing;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CnetSDK.OCR.Trial;

// Create an OCR Engine instance.
OcrEngine MultipageTIFFOCR = new OcrEngine();

// Set the absolute path of tessdata.
MultipageTIFFOCR.TessDataPath = "F:/tessdata/";

// Specify the language of text that will be extracted from TIFF image.
MultipageTIFFOCR.TextLanguage = "eng";

// Recognize and extract text from TIFF image (all TIFF file pages).
List pages = MultipageTIFFOCR.PerformOCRFromMultiPageTiff("F:/CnetSDK.tif");
foreach (string page in pages)
{
    // Show text from each TIFF file page.
    System.Console.WriteLine(page);
}
.NET OCR SCANNER LIBRARY FOR TIFF VB.NET SAMPLE
Our multi-page TIFF image OCR library dll can also be used in VB.NET programming. And the following VB.NET sample code can be tested in your VB.NET TIFF OCR application.
Imports System
Imports System.Drawing
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports CnetSDK.OCR.Trial

Module CnetSDKOCRDemo

    Sub Main()
        ' Create an instance of OCR engine.
        Dim MultipageTIFFOCR As OcrEngine = New OcrEngine()

        ' Specify the absolute path of tessdata.
        MultipageTIFFOCR.TessDataPath = "F:/tessdata/"

        ' Specify the language of text that will be extracted from TIFF image.
        MultipageTIFFOCR.TextLanguage = "eng"

        ' Recognize and extract text from TIFF image (all TIFF file pages).
        Dim pages As List(Of String) = MultipageTIFFOCR.PerformOCRFromMultiPageTiff("F:/CnetSDK.tif")
        Dim page As String
        For Each page In pages
            ' Show text from each TIFF file page.
            System.Console.WriteLine(page)
        Next
        System.Console.ReadKey()

    End Sub

End Module
Besides multi-page TIFF image text OCR tutorial, we also offers online tutorials for other images OCR and zonal OCR. Please refer to the following online pages.