跳過到頁腳內容

專門閱讀

超越簡單文本。使用專用的高性能工具準確閱讀護照(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# 中使用讀取護照
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

讀取 BarCode 和 QR 代碼

偵測並解碼所有主要的一維和二維條碼格式,包括 QR Code。適用於庫存管理、物流追蹤、銷售點系統和行動票務應用程式的多功能解決方案。

學習如何:在 .NET C# 中讀取 BarCode 和 QR 碼
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 可以快速、有效率地掃描和擷取影像中的手寫文字。

Learn how to add headers/footers
C#
準備好開始了嗎?
Nuget 下載 5,167,857 | Version: 2025.11 剛發表