跳至頁尾內容

專業閱讀

超越純文字的範疇。透過專用且高效能的工具,精準讀取護照(MRZ)、支票(MICR)、車牌及BarCode。

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

1

讀取車牌

建置強大的自動車牌辨識(ANPR)系統,應用於自動化停車管理、安全閘門通行及車輛追蹤。我們的引擎經過訓練,能從各種角度、距離及光線條件下精準讀取車牌。

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

var ocr = new IronTesseract();
ocr.Co/nfiguration.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.Co/nfidence}";
Console.WriteLine(output);
C#
2

閱讀 Passport

透過即時擷取國際護照及身分證的機器可讀區(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

讀取 BarCode 與 QR 碼

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

學習如何:在 .NET C# 中讀取 BarCode 與 QR 碼
using IronOcr;

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

// Enable barcode reading
ocrTesseract.Co/nfiguration.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,896,332 | 版本: 2026.5 just released
Still Scrolling Icon

還在往下捲動嗎?

想要快速確認成果嗎? PM > Install-Package IronOcr
執行範例 觀看您的圖片轉為可搜尋文字。

鋼鐵支援團隊

我們每週 5 天,每天 24 小時在線上。
聊天
電子郵件
打電話給我