IronSoftware
  • Products
    Create, read, and edit PDFs Image to text in 127 languages Read and write QR & Barcodes No Office Interop required Extract structured data from websites 5 for the Price of 2 All 5 .NET product licenses from $998 Save 60% with Iron Suite Iron Suites - Donate $50
  • About Us
  • Contact Us
  • Home
  • Licensing
  • EULA
  • Support & Update Extensions
  • Get Started
  • Languages
  • Code Examples
  • Tutorials
  • FAQ
  • Troubleshooting
  • API Reference
  • Search
  • Free NuGet Download
IronOCR Library for C# IronOCR Library for C#
  • Home
  • Licensing
    • Licensing
    • EULA
    • Support & Update Extensions
  • Docs
    • Search
    • Get Started
    • Languages
    • Code Examples
    • Tutorials
    • FAQ
    • Troubleshooting
    • API Reference
    • Search
  • Search
  • Free NuGet Download Total downloads: 390,682
Message's icon
IronOCR
Code Examples
  1. IronOCR
  2. Code Examples
  3. OCR Progress Tracking Events
IronOCR
Free for development from NuGet

Install with NuGet nuget.org/packages/IronOcr

PM > Install-Package IronOcr

Explore the Docs

  • Get Started
  • Languages
  • Code Examples
    • C# Image to Text
    • C# Tesseract OCR
    • License Keys
    • Tesseract Configuration Variables
    • PDF Document OCR in .NET
    • OCR on Azure [Setup & Compatibility]
    • OCR on Linux [Setup & Compatibility]
    • OCR on Docker [Setup & Compatibility]
    • Contacting Technical Support
      • How to Make an Engineering Support Request for IronOCR
      • Getting the Best Support for IronOCR
    • Troubleshooting Guides
      • X and Y coordinates change in OcrResult Class
      • Apply a license key in IronOCR
      • Reduce file size of output PDF in IronOcr
      • Captcha
      • Content Areas & Crop Regions with PDFs
      • Save image with different image processing applied
      • Quick IronOCR Troubleshooting
      • Identity Documents
    • Language Packs
      • Dot Matrix OCR
      • Equations
      • Custom OCR Language Packs
      • 7 Segment Digital/LCD Displays
      • Financial Language Pack
      • Arabic Numerals
      • Slashed zeros
    • Exception Messages
      • Tesseract Fallback Logic
      • System.Drawing.Common in NET6
      • Azure Functions Deployment
      • libgdiplus
      • SEHException with Celeron CPUs
      • leptonica-1.78.0.dll
      • Visual C++ Redistributable for Visual Studio
    • Product Release Notes
      • IronOCR v2021.11.0
      • IronOCR v2022.1.0
      • IronOCR v2021.12.0
  • API Reference
OCR in 1 line of code
PDF OCR Text Extraction
OCR with Barcode & QR Reading
125 International OCR Languages
Fixing Low Quality Scans & Images
Fast OCR Configuration
OCR Image Optimization Filters
OCR Image Color Editing
OcrResult Class
Create Searchable PDFs by OCR
Tesseract 5 for .NET
Tesseract 4 for .NET
Tesseract 3 Legacy for .NET
Tesseract Detailed Configuration
OcrInput Class
OCR a Region of an Image
TIFF to Serchable PDF Converter
Image Resolution Optimization (DPI)
MultiThreaded Tesseract OCR
OCR Progress and Performance Tracking
OCR for MultiPage TIFF Files
Make any PDF have Searchable, Copyable Text
Using Custom Tesseract Language Files
Multiple Languages for 1 Document
Exporting Images of OCR Elements

OCR Progress and Performance Tracking

using IronOcr;

var Ocr = new IronTesseract();

ocr.OcrProgress += (object o, IronOcr.Events.OcrProgresEventsArgs e) =>
{
    Console.WriteLine(e.ProgressPercent + "%   " + e.Duration.TotalSeconds + "s");
};

using (var Input = new OcrInput("large.pdf"))
{ 
	// progress events will fire during the read operation even if the main thread is blocked.
    var Result = Ocr.Read(Input);
} 
 
Imports IronOcr

Private Ocr = New IronTesseract()

Private ocr.OcrProgress += Sub(o As Object, e As IronOcr.Events.OcrProgresEventsArgs)
	Console.WriteLine(e.ProgressPercent & "%   " & e.Duration.TotalSeconds & "s")
End Sub

Using Input = New OcrInput("large.pdf")
	' progress events will fire during the read operation even if the main thread is blocked.
	Dim Result = Ocr.Read(Input)
End Using
Read more
Try IronOCR free for development
Download Free Free Nuget Download
Install-Package IronOcr

OCR Progress and Performance Tracking

The IronTesseract object has an OcrProgress event that can be used to track OCR progress. We can track progress using the OcrProgresEventsArgs object sent to this event after any page of OCR text has finished reading.

This is useful in GUI application, Web Applications and and CLI alike to keep users informed of how long they may need to wait.
Previous Example
Next Example

Ready to get started? Version: 2022.3.0 just released

Free NuGet Download Total downloads: 390,682 View Licenses >
Try IronOCR for Free
Get Set Up in 5 Minutes
C# Nuget Library for PDF
Install with NuGet
Version: 2022.3.0
Install-Package IronOcr
nuget.org/packages/IronOcr/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronOCR"
  3. Select the package and install
C# PDF DLL
Download DLL
Version: 2022.3.0
Download Now
Manually install into your project
  1. Download and unzip IronOCR to a location such as ~/Libs within your Solution directory
  2. In Visual Studio Solution Explorer, right click References. Select Browse, "IronOCR.dll"
Licenses from $499

Have a question? Get in touch with our development team.

Now that you’ve downloaded IronOCR
Want to deploy IronOCR to a live project for FREE?
What’s included?
30 days of fully-functional product
Test and share in a live environment
No restrictions in production
Get your free 30-day Trial Key instantly.
No credit card or account creation required
Your Trial License Key has been emailed to you.
Thank you.
View your license options:
View License
Have a question? Get in touch with our development team.
Want to deploy IronOCR to a live project for FREE?
What’s included?
30 days of fully-functional product
Test and share in a live environment
No restrictions in production
Get your free 30-day Trial Key instantly.
No credit card or account creation required
Your Trial License Key has been emailed to you.
Download IronOCR free to apply
your Trial Licenses Key
Install with NuGet View Licenses
Licenses from $499. Have a question? Get in touch.
Free 30-Day Trial Key
IronOCR for .NET

Tesseract 5 OCR in the languages you need, We support 127+.

Search

Documentation

  • Code Examples
  • API Reference
  • FAQ
  • Credits
  • Blog
  • Product Brochure

Tutorials

  • Get Started
  • C# Image to Text
  • C# Tesseract OCR

Licensing

  • Buy a License
  • Support Extensions
  • Resellers
  • sLicense Keys
  • EULA

Try IronOCR Free

  • Download on NuGet
  • Download DLL
  • 30-Day Trial License

When you need your PDF to look like HTML, fast.

Tesseract 5 OCR in the languages you need, We support 127+.

When you need to read, write, and style, QR & Barcodes, fast.

The Excel API you need, without the Office Interop hassle.

The power you need to scrape & output clean, structured data.

The complete .NET Suite for your office.

  • IRONSUITE
  • |
  • IRONPDF
  • IRONOCR
  • IRONBARCODE
  • IRONXL
  • IRONWEBSCRAPER
IronSoftware
205 N. Michigan Ave. Chicago, IL 60611 USA +1 (312) 500-3060
  • About Us
  • Contact Us

Supporting Teamseas

Copyright © Iron Software LLC 2013-2022

  • Terms
  • Privacy

Thank you!

Your license key has been delivered to the email provided. Contact us

48-Hour Upgrade Offer:

Save 50% on a
Professional Upgrade

Go Professional to cover 10 developers
and unlimited projects.

Upgrade to Professional

Upgrade

Professional

$600 USD

$299 USD


  • 10 developers
  • 10 locations
  • 10 projects