在生產環境中測試,無浮水印。
無論您在哪裡需要,它都能運作。
立即獲取 30 天完整功能版產品。
幾分鐘內即可完成安裝並開始使用。
在產品試用期間,您可隨時聯繫我們的技術支援團隊
探索 IronOCR 的更多功能——滿足您所有 OCR 需求的理想程式庫!
輕鬆處理儲存於 TIFF 和 GIF 格式的多頁文件。IronOcr 能一次讀取所有頁面或畫面,節省您手動分割檔案的繁瑣步驟。
學習如何:讀取多幀/多頁 GIF 和 TIFF 檔案using IronOcr;
// Instantiate IronTesseract
IronTesseract ocrTesseract = new IronTesseract();
// Import TIFF/TIF
using var imageInput = new OcrImageInput("sample.tiff");
// Perform OCR
OcrResult ocrResult = ocrTesseract.Read(imageInput);
能直接從 PDF 檔案或記憶體流中精準擷取文字,輕鬆處理原生及掃描(基於影像)的 PDF 檔案。
學習如何:在 .NET C# 中讀取 PDFusing IronOcr;
// Instantiate IronTesseract
IronTesseract ocrTesseract = new IronTesseract();
// Add PDF
using var pdfInput = new OcrPdfInput("sample.pdf");
// Perform OCR
OcrResult ocrResult = ocrTesseract.Read(pdfInput);
IronOCR 支援所有標準圖像格式,例如 JPG、PNG 和 BMP。您只需提供檔案路徑,IronOCR 將處理後續所有步驟。
學習如何:在 .NET C# 中讀取圖片using IronOcr;
// Instantiate IronTesseract
IronTesseract ocrTesseract = new IronTesseract();
// Add image
using var imageInput = new OcrImageInput("Potter.png");
// Perform OCR
OcrResult ocrResult = ocrTesseract.Read(imageInput);
打造高度可擴展且反應靈敏的應用程式,並全面支援並行處理。透過在不同執行緒中安全地同時處理多份文件,實現高效能的伺服器端部署。
學習如何:在 C# 中實現多執行緒 Tesseract OCRusing IronOcr;
var ocrTesseract = new IronTesseract();
using var ocrInput = new OcrInput();
ocrInput.LoadPdf("sample.pdf");
// Image processing is automatically multi-threaded
ocrInput.Deskew();
// OCR reading is automatically multi-threaded too
var ocrResult = ocrTesseract.Read(ocrInput);
有效管控長時間執行的 OCR 任務。使用中止標記(abort token)可優雅地暫停或取消程序,此功能對於資源管理或實作可由使用者取消的操作非常有用。
學習如何:C# Tesseract 中止代碼using IronOcr;
using System.Threading;
// Opens a Large PDF which may need to be cancelled early
IronTesseract ocrTesseract = new IronTesseract() { Language = OcrLanguage.English };
using var ocrInput = new OcrInput();
ocrInput.LoadPdf("sample.pdf");
// Starts a read on the PDF using IronOCR
OcrReadTask ocrRead = ocrTesseract.ReadAsync(ocrInput);
Thread.Sleep(1000); // Time passes...
// Cancellation Example:
ocrRead.Cancel();
ocrRead.Wait();
防止您的應用程式因處理困難或損壞的檔案而當機。為任何 OCR 處理設定特定的超時時間,以確保更佳的資源管理與系統穩定性。
了解如何:C# Tesseract 超時處理using IronOcr;
int cancel_time = 1000;
// Opens a Large PDF which may need to be cancelled early
IronTesseract ocrTesseract = new IronTesseract() { Language = OcrLanguage.English };
var ocrInput = new OcrInput();
ocrInput.LoadPdf("large-report.pdf");
// Starts a read on the PDF using IronOCR with specified cancel time
OcrReadTask ocrRead = ocrTesseract.ReadAsync(ocrInput, cancel_time);
監控 OCR 作業從 0% 到 100% 的即時進度。這讓您能透過進度條向使用者提供回饋,或更精準地估算大型任務的完成時間。
了解如何:在 .NET C# 中使用進度追蹤using IronOcr;
var ocrTesseract = new IronTesseract();
// Subscribe to OcrProgress event
ocrTesseract.OcrProgress += (_, ocrProgressEventsArgs) =>
{
Console.WriteLine("Progress(%) | Duration");
Console.WriteLine(" " + ocrProgressEventsArgs.ProgressPercent + "% | " + ocrProgressEventsArgs.Duration.TotalSeconds + "s");
};
using var input = new OcrInput();
input.LoadPdf("Experiences-in-Biodiversity-Research-A-Field-Course.pdf");
// Progress events will fire during the read operation
var result = ocrTesseract.Read(input);