跳至頁尾內容

專業閱讀

超越純文字。使用專用的高性能工具,準確讀取護照(MRZ)、支票(MICR)、車牌和條碼。

Icon Main related to 專業閱讀
專業閱讀

1

讀取車牌

建立強大的車牌自動識別 (ANPR) 系統,用於自動化停車管理、安全門禁和車輛追蹤。我們的引擎經過訓練,能夠從各種角度、距離和光照條件下準確讀取車牌。

學習如何使用 IronOCR 讀取車牌號碼
using IronOcr;
using System;

var ocr = new IronTesseract();
ocr.Configuration.WhiteListCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_";
using var inputLicensePlate = new OcrInput();
inputLicensePlate.LoadImage("plate.jpeg");

// Read license plate
OcrLicensePlateResult result = ocr.ReadLicensePlate(inputLicensePlate);

// Retrieve license plate number and confidence value
string output = $"{result.Text}\nResult Confidence: {result.Confidence}";
Console.WriteLine(output);
C#
2

閱讀護照

透過即時提取國際護照和身分證機讀區 (MRZ) 的數據,簡化身分驗證和客戶註冊流程。消除手動輸入錯誤,加快您的入住登記或合規流程。

學習如何在 C# 中使用 Read Passport
using IronOcr;
using System;

// Instantiate OCR engine
var ocr = new IronTesseract();
using var inputPassport = new OcrInput();
inputPassport.LoadImage("passport.jpg");

// Perform OCR
OcrPassportResult result = ocr.ReadPassport(inputPassport);

// Output name and passport number
Console.WriteLine(result.PassportInfo.GivenNames);
Console.WriteLine(result.PassportInfo.PassportNumber);
C#
3

MICR支票讀取

可靠讀取支票上的 E-13B MICR 字體,實現銀行存款處理和財務工作流程的自動化。我們專業的引擎確保路由號碼、帳號和支票金額等關鍵資料的最高準確度。

// Import the IronOCR namespace
using IronOcr;

// Create a new instance of IronTesseract for performing OCR operations
var Ocr = new IronTesseract();

// Set the OCR language to MICR to recognize magnetic ink characters

// Must have MICR (IronOcr.Languages.MICR) installed beforehand
Ocr.Language = OcrLanguage.MICR;

// Specify the file path of the input image containing MICR text
using (var Input = new OcrInput())
{
   Input.LoadImage("sampleChequeImage.png");

   // Run the OCR engine to read the MICR text from the input image 
   var Result = Ocr.Read(Input);

   // Output the recognized text to the console 
   Console.WriteLine(Result.Text);
}
C#
4

讀取條碼和二維碼

可偵測並解碼所有主流的一維和二維條碼格式,包括二維碼。適用於庫存管理、物流追蹤、銷售點系統和行動票務應用等多種場景。

學習如何在 .NET C# 中讀取條碼和二維碼
using IronOcr;

// Instantiate IronTesseract
IronTesseract ocrTesseract = new IronTesseract();

// Enable barcode reading
ocrTesseract.Configuration.ReadBarCodes = true;

// Add PDF
using var imageInput = new OcrPdfInput("pdfWithBarcodes.pdf");

// Perform OCR
OcrResult ocrResult = ocrTesseract.Read(imageInput);

// Output detected barcodes and text values
Console.WriteLine(ocrResult.Text);
Console.WriteLine(ocrResult.Barcodes[0].Value);
C#
5

電腦視覺 OCR

利用電腦視覺的強大功能,透過我們先進的訓練模型檢測文字。 IronOCR 使用 OpenCV 來識別影像中包含文字的區域,特別適用於雜訊較大且文件中文字區塊分散的影像!

學習如何使用:電腦視覺中的 OCR 教學(許可證、字幕、發票)
using IronOcr;

var ocr = new IronTesseract();
using var input = new OcrInput();
input.LoadImage("sample.png");

// Make sure to also install IronOcr.Extensions.AdvancedScan to use this method
input.FindTextRegion(Scale: 2.0, DilationAmount: 20, Binarize: true, Invert: true);
OcrResult result = ocr.Read(input);
string resultText = result.Text;
C#
6

從手寫圖像中提取文本

IronOCR 甚至可以輕鬆地從手寫圖像中提取文字。 IronOCR 採用專門的方法,可以快速且有效率地掃描影像並從中提取手寫文字。

學習如何新增頁首/頁尾
C#
準備好開始了嗎?
Nuget 下載 5,299,091 | 版本: 2025.12 剛剛發布