AVAILABLE NOW: Spring 2025 Release
By Apryse | 2025 Jun 25
6 min
Tags
.NET core
ocr
This video showcases how you can use the Apryse .NET Core libraries to build a cross-platform OCR Application. This sample application loads a sample image such as a TIF, performs OCR on the text, and outputs the recognized words into a PDF document.
using pdftron;
using pdftron.PDF;
using pdftron.SDF;
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
PDFNet.Initialize(PDFTronLicense.License);
PDFNet.AddResourceSearchPath(PDFTronLicense.ModulePath);
using (PDFDoc doc = new PDFDoc())
{
OCRModule.ImageToPDF(doc, "samples\\ocr1.tif", null);
doc.Save("output.pdf", SDFDoc.SaveOptions.e_linearized);
}
PDFNet.Terminate();
}
}
}
For more information about Apryse OCR, visit our documentation.
Tags
.NET core
ocr
Apryse
Share this post
PRODUCTS
Platform Integrations
End User Applications
Popular Content