IRONSOFTWAREHOME

ਸੀ # ਅਤ .ਨਟ ਵਿਚ ਪਜਾਬੀ ਓ.ਸੀ.ਆਰ.

Curtis Chau
Curtis Chau
Updated: 2026년 4월 23일
ਇਸ ਦਸਤਾਵਜ ਦਾ ਹਰ ਸਸਕਰਣ:

ਆਇਰਨ ਓਆਰਸੀਆਰ ਇਕ ਸੀ # ਸਫਟਵਅਰ ਭਾਗ ਹ ਜਿਸ ਨਾਲ .NET ਕਡਰ 126 ਭਾਸਾਵਾ ਵਿਚ ਚਿਤਰਾ ਅਤ ਪੀਡੀਐਫ ਦਸਤਾਵਜਾ ਤ ਪਾਠ ਨ ਪੜਹ ਸਕਦ ਹਨ.

ਇਹ ਟਸਰਕਟ ਦਾ ਇਕ ਉਨਤ ਫਰਕ ਹ, ਜ ਕਿ .NET ਡਿਵਲਪਰਾ ਲਈ ਵਿਸਸ ਤਰ 'ਤ ਬਣਾਇਆ ਗਿਆ ਹ ਅਤ ਨਿਯਮਤ ਤਰ' ਤ ਗਤੀ ਅਤ ਸਧਤਾ ਦਵਾ ਲਈ ਦਜ ਟਸਕਰਕਟ ਇਜਣਾ ਨ ਨਿਯਤਰਿਤ ਕਰਦਾ ਹ.

ਆਇਰਨ ਓ.ਸੀ. ਲਗਏਜ.ਪਜਾਬੀ ਦੀ ਸਮਗਰੀ

ਇਸ ਪਕਜ ਵਿਚ .NET ਲਈ 46 ਓਸੀਆਰ ਭਾਸਾਵਾ ਹਨ.

  • ਪਜਾਬੀ
  • PanjabiBest
  • PanjabiFast

ਡਾ .ਨਲਡ

ਪਜਾਬੀ ਭਾਸਾ ਪਕ [ਪਜਾਬੀ]
* Download as ਜਿਪ
* Install with as
https://www.nuget.org/packages/IronOcr.Languages.Panjabi/'> ਨਗਟ

ਇਸਟਾਲਸਨ

ਸਭ ਤ ਪਹਿਲਾ ਜ ਅਸੀ ਕਰਨਾ ਹ ਉਹ ਹ ਆਪਣ NET ਪਰਜਕਟ ਲਈ ਸਾਡਾ Panjabi OCR ਪਕਜ.

PM> Install-Package IronOcr.Languages.Panjabi

ਕਡ ਦੀ ਉਦਾਹਰਣ

ਇਹ ਸੀ # ਕਡ ਉਦਾਹਰਣ ਇਕ ਚਿਤਰ ਜਾ ਪੀਡੀਐਫ ਦਸਤਾਵਜ ਤ ਪਜਾਬੀ ਟਕਸਟ ਨ ਪੜਹਦਾ ਹ.

// PM> Install-Package IronOcr.Languages.Panjabi
using IronOcr;

var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;
using (var Input = new OcrInput(@"images\Panjabi.png"))
{
    var Result = Ocr.Read(Input);
    var AllText = Result.Text;
    // Print the entire text to the console.
    Console.WriteLine(AllText);
}

IronOCR ਕਿਉ ਚਣ?

ਆਇਰਨ ਓ.ਸੀ.ਆਰ. ਇਕ ਸਥਾਪਨਾ-ਵਿਚ-ਆਸਾਨ, ਸਪਰਨ ਅਤ ਚਗੀ ਤਰਹਾ ਦਸਤਾਵਜ ਵਾਲੀ. NET ਸਫਟਵਅਰ ਲਾਇਬਰਰੀ ਹ.

ਬਿਨਾ ਕਿਸ ਬਾਹਰੀ ਵਬ ਸਵਾਵਾ ਦੀ ਵਰਤ, ਜਾਰੀ ਫੀਸਾ ਜਾ ਇਟਰਨਟ ਤ ਗਪਤ ਦਸਤਾਵਜ ਭਜਣ ਤ ਬਿਨਾ 99.8% + ਓਸੀਆਰ ਸਧਤਾ ਪਰਾਪਤ ਕਰਨ ਲਈ ਆਇਰਨਆਰਸੀਆਰ ਦੀ ਚਣ ਕਰ.

ਕਿਉ ਸੀ ਡਿਵਲਪਰਾ ਨ ਵਨੀਲਾ ਟਸਕਰਕਟ ਨਾਲ ਆਇਰਨ ਓਆਰਸੀ ਦੀ ਚਣ ਕੀਤੀ:

  • ਇਕ ਸਿਗਲ DLL ਜਾ ਨਗਟ ਦ ਤਰ ਤ ਸਥਾਪਿਤ ਕਰ
  • ਬਾਕਸ ਤ ਬਾਹਰ ਟਸਰਕ 5, 4 ਅਤ 3 ਇਜਣਾ ਲਈ ਸਾਮਲ ਹ.
  • ਸਧਤਾ 99.8% ਨਿਯਮਤ ਟਸਟਰਕਟ ਨ ਮਹਤਵਪਰਣ ਰਪ ਵਿਚ ਪਰਭਾਵਤ ਕਰਦੀ ਹ.
  • ਬਲਜਿਗ ਸਪੀਡ ਅਤ ਮਲਟੀਟਰਡਿਗ
  • ਐਮਵੀਸੀ, ਵਬ ਐਪ, ਡਸਕਟਾਪ, ਕਸਲ ਅਤ ਸਰਵਰ ਐਪਲੀਕਸਨ ਅਨਕਲ ਹਨ
  • ਕਮ ਕਰਨ ਲਈ ਕਈ ਐਕਸਜ ਜਾ ਸੀ ++ ਕਡ ਨਹੀ
  • ਪਰਾ ਪੀਡੀਐਫ ਓਸੀਆਰ ਸਮਰਥਨ
  • ਲਗਭਗ ਕਿਸ ਵੀ ਚਿਤਰ ਫਾਈਲ ਜਾ ਪੀਡੀਐਫ ਨ ਓਸੀਆਰ ਕਰਨ ਲਈ
  • ਪਰਾ .ਨਟ ਕਰ, ਸਟਡਰਡ ਅਤ ਫਰਮਵਰਕ ਸਹਾਇਤਾ
  • ਵਿਡਜ, ਮਕ, ਲੀਨਕਸ, ਅਜਰ, ਡਕਰ, ਲਾਬਡਾ, ਏਡਬਲਯਐਸ ਤ ਲਗਾਓ
  • ਬਾਰਕਡ ਅਤ ਕਿRਆਰ ਕਡ ਪੜਹ
  • XCR ਦ ਤਰ ਤ ਓਸੀਆਰ ਐਕਸਪਰਟ ਕਰ
  • OCR ਨ ਖਜਣ ਯਗ PDF ਦਸਤਾਵਜਾ ਵਿਚ ਨਿਰਯਾਤ ਕਰ
  • ਮਲਟੀਥਰੀਡਿਗ ਸਹਾਇਤਾ
  • 126 ਸਾਰੀਆ ਕਮਾਤਰੀ ਭਾਸਾਵਾ ਨਗਟ ਜਾ ਓਕਰਡਾਟਾ ਫਾਈਲਾ ਦਆਰਾ ਪਰਬਧਿਤ ਹਨ
  • ਚਿਤਰ, ਤਾਲਮਲ, ਅਕੜ ਅਤ ਫਟ ਐਕਸਟਰਕਟ ਕਰ. ਸਿਰਫ ਟਕਸਟ ਹੀ ਨਹੀ.
  • ਵਪਾਰਕ ਅਤ ਮਲਕੀਅਤ ਐਪਲੀਕਸਨਾ ਦ ਅਦਰ ਟਸਕਰਕਟ ਓਸੀਆਰ ਨ ਦਬਾਰਾ ਵਡਣ ਲਈ ਵਰਤਿਆ ਜਾ ਸਕਦਾ ਹ.

ਆਇਰਨ ਓਸੀਆਰ ਚਮਕਦਾ ਹ ਜਦ ਅਸਲ ਵਿਸਵ ਚਿਤਰਾ ਅਤ ਅਪਰਣ ਦਸਤਾਵਜਾ ਜਿਵ ਕਿ ਫਟਆ, ਜਾ ਘਟ ਰਜਲਿ .ਸਨ ਦ ਸਕਨ ਨਾਲ ਕਮ ਕਰਦ ਸਮ ਜਿਸ ਵਿਚ ਡਿਜੀਟਲ ਸਰ ਜਾ ਕਮਜਰੀ ਹ ਸਕਦੀ ਹ.

.NET ਪਲਟਫਾਰਮ ਲਈ ਹਰ ਮਫਤ OCR ਲਾਇਬਰਰੀਆ ਅਜਿਹੀਆ ਹਰ .NET ਟਸਕਰਟ ਏਪੀਆਈ ਅਤ ਵਬ ਸਵਾਵਾ ਇਨਹਾ ਅਸਲ ਵਿਸਵ ਵਰਤ ਦ ਮਾਮਲਿਆ ਤ ਇਨੀਆ ਵਧੀਆ ਪਰਦਰਸਨ ਨਹੀ ਕਰਦੀਆ.

ਟਸਰਕ 5 ਨਾਲ ਓਸੀਆਰ - ਸੀ # ਵਿਚ ਕਡਿਗ ਸਰ ਕਰ

ਹਠਾ ਕਡ ਦਾ ਨਮਨਾ ਦਰਸਾਉਦਾ ਹ ਕਿ C# ਜਾ VB .NET ਦੀ ਵਰਤ ਕਰਦ ਹਏ ਚਿਤਰ ਤ ਪਾਠ ਪੜਹਨਾ ਕਿਨਾ ਸਖਾ ਹ.

ਵਨਲਾਈਨਰ

// Simple single line OCR conversion
string Text = new IronTesseract().Read(@"img\Screenshot.png").Text;

ਹਲ ਵਰਲਡ

// PM> Install-Package IronOcr.Languages.Panjabi
using IronOcr;

// Create a new instance of IronTesseract
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;

// Create an OcrInput to process images for OCR
using (var Input = new OcrInput())
{
    // Add an image for OCR processing
    Input.AddImage("images/sample.jpeg");
    //... You can add multiple images for batch processing
    var Result = Ocr.Read(Input);
    // Output the resulting text to the console
    Console.WriteLine(Result.Text);
}

ਸੀ # ਪੀਡੀਐਫ ਓਸੀਆਰ

ਉਸ ਹੀ ਪਹਚ ਨ ਕਿਸ ਵੀ ਪੀਡੀਐਫ ਦਸਤਾਵਜ ਤ ਟਕਸਟ ਐਕਸਟਰਕਟ ਕਰਨ ਲਈ ਵਰਤਿਆ ਜਾ ਸਕਦਾ ਹ.

using IronOcr;

// Initialize IronTesseract for OCR operations
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;

// Process PDF documents for OCR
using (var Input = new OcrInput())
{
    Input.AddPdf("example.pdf", "password"); // Add PDF with optional password
    // Choose specific pages for OCR, if necessary

    var Result = Ocr.Read(Input);
    // Display the detected text
    Console.WriteLine(Result.Text);
    // Print the number of pages processed
    Console.WriteLine($"{Result.Pages.Count()} Pages");
    // PDF ਮਹਿ ਹਰਕ ਪਨ ਲਈ 1 ਪਨਾ
}

ਮਲਟੀਪਜ ਟੀਆਈਐਫਐਫ ਲਈ ਓਸੀਆਰ

OCR ਰੀਡਿਗ TIFF ਫਾਈਲ ਫਰਮਟ ਸਮਤ ਮਲਟੀਪਲ ਪਜ ਡਕਮਟ. ਟੀਆਈਐਫਐਫ ਨ ਖਜਣਯਗ ਟਕਸਟ ਨਾਲ ਸਿਧ ਤਰ ਤ ਇਕ ਪੀਡੀਐਫ ਫਾਈਲ ਵਿਚ ਬਦਲਿਆ ਜਾ ਸਕਦਾ ਹ.

using IronOcr;

// Initialize IronTesseract for OCR operations
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;

// Process multi-frame TIFF images for OCR
using (var Input = new OcrInput())
{
    Input.AddMultiFrameTiff("multi-frame.tiff"); // Add multi-page TIFF file
    var Result = Ocr.Read(Input);
    // Output the resulting text to the console
    Console.WriteLine(Result.Text);
}

ਬਾਰਕਡਸ ਅਤ ਕਿ Qਆਰ

ਆਇਰਨ ਓਸੀਆਰ ਦੀ ਇਕ ਵਿਲਖਣ ਵਿਸਸਤਾ ਇਹ ਹ ਕਿ ਇਹ ਦਸਤਾਵਜਾ ਵਿਚ ਬਾਰਕਡ ਅਤ ਕਿ Qਆਰ ਕਡ ਪੜਹ ਸਕਦਾ ਹ ਜਦ ਉਹ ਟਕਸਟ ਦੀ ਜਾਚ ਕਰ ਰਿਹਾ ਹ. OcrResult.OcrBarcode ਕਲਾਸ ਦ OcrResult.OcrBarcode ਵਿਕਾਸਕਰਤਾ ਨ ਹਰਕ ਸਕਨ ਕੀਤ ਬਾਰਕਡ ਬਾਰ ਵਿਸਥਾਰਪਰਵਕ ਜਾਣਕਾਰੀ ਦਿਦ ਹਨ.

using IronOcr;

// Initialize IronTesseract for OCR operations
var Ocr = new IronTesseract();
Ocr.Configuration.ReadBarCodes = true; // Enable barcode reading

using (var Input = new OcrInput())
{
    Input.AddImage("img/Barcode.png"); // Add image containing barcode
    var Result = Ocr.Read(Input);
    
    // Loop through detected barcodes
    foreach (var Barcode in Result.Barcodes)
    {
        Console.WriteLine(Barcode.Value); // Print barcode values
        // Additional properties like type and location are also available
    }
}

ਚਿਤਰਾ ਦ ਖਾਸ ਖਤਰਾ 'ਤ ਓ.ਸੀ.ਆਰ.

ਆਇਰਨ ਓਸੀਆਰ ਦ ਸਾਰ ਸਕਨਿਗ ਅਤ ਪੜਹਨ ਦ methodsਗ ਇਹ ਦਸਣ ਦੀ ਯਗਤਾ ਪਰਦਾਨ ਕਰਦ ਹਨ ਕਿ ਕਿਸ ਪਨ ਜਾ ਪਨਿਆ ਦ ਕਿਸ ਹਿਸ ਤ ਅਸੀ ਪਾਠ ਪੜਹਨਾ ਚਾਹਦ ਹਾ. ਇਹ ਬਹਤ ਉਪਯਗੀ ਹਦਾ ਹ ਜਦ ਅਸੀ ਪਰਮਾਣਿਤ ਰਪਾ ਨ ਵਖ ਰਹ ਹਦ ਹਾ ਅਤ ਬਹਤ ਸਾਰਾ ਸਮਾ ਬਚਾ ਸਕਦ ਹਾ ਅਤ ਕਸਲਤਾ ਵਿਚ ਸਧਾਰ ਕਰ ਸਕਦ ਹਾ.

ਫਸਲਾ ਦ ਖਤਰਾ ਦੀ ਵਰਤ ਕਰਨ ਲਈ, ਸਾਨ System.Drawing ਲਈ ਇਕ ਸਿਸਟਮ ਸਦਰਭ ਸਾਮਲ ਕਰਨ ਦੀ ਜਰਰਤ ਹਏਗੀ ਤਾ ਜ ਅਸੀ System.Drawing.Rectangle ਆਬਜਕਟ ਦੀ ਵਰਤ ਕਰ ਸਕੀਏ.

using IronOcr;
using System.Drawing; // Required for Rectangle class

// Initialize IronTesseract for OCR operations
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;

using (var Input = new OcrInput())
{
    // Define a specific area on the image to perform OCR
    var ContentArea = new Rectangle() { X = 215, Y = 1250, Height = 280, Width = 1335 };

    Input.Add("document.png", ContentArea); // Add the cropped area for OCR

    var Result = Ocr.Read(Input);
    // Print the text detected within the specified rectangle
    Console.WriteLine(Result.Text);
}

ਘਟ ਕਆਲਟੀ ਸਕਨ ਲਈ ਓ.ਸੀ.ਆਰ.

ਆਇਰਨ ਓਸੀਆਰ OcrInput ਕਲਾਸ ਉਹਨਾ ਸਕਨ ਨ ਠੀਕ ਕਰ ਸਕਦੀ ਹ ਜ ਸਧਾਰਣ OcrInput ਨਹੀ ਪੜਹ ਸਕਦ.

using IronOcr;

// Initialize IronTesseract for OCR operations
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;

using (var Input = new OcrInput(@"img\Potter.LowQuality.tiff"))
{
    Input.DeNoise(); // Mitigate digital noise and low-quality scanning
    Input.Deskew();  // Correct rotation and tilts
    var Result = Ocr.Read(Input);
    // Output the resulting text to the console
    Console.WriteLine(Result.Text);
}

ਓਸੀਆਰ ਦ ਨਤੀਜਿਆ ਨ ਖਜਣ ਯਗ ਪੀਡੀਐਫ ਦ ਰਪ ਵਿਚ ਨਿਰਯਾਤ ਕਰ

ਚਿਤਰ ਨ ਕਾਪੀ ਜਾ ਸਕਣ ਵਾਲ ਟਕਸਟ ਸਤਰਾ ਦ ਨਾਲ. ਖਜ ਇਜਨ ਅਤ ਡਾਟਾਬਸ ਦਆਰਾ ਇਡਕਸ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹ.

using IronOcr;

// Initialize IronTesseract for OCR operations
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;

using (var Input = new OcrInput())
{
    Input.Title = "Quarterly Report"; // Set a title for the resulting PDF
    Input.AddImage("image1.jpeg");
    Input.AddImage("image2.png");
    Input.AddImage("image3.gif");

    var Result = Ocr.Read(Input);
    // Export the OCR results to a searchable PDF
    Result.SaveAsSearchablePdf("searchable.pdf");
}

ਖਜਣ ਯਗ ਪੀਡੀਐਸ ਰਪਾਤਰਣ ਲਈ ਟੀਆਈਐਫਐਫ

ਇਕ ਟੀਆਈਐਫਐਫ ਦਸਤਾਵਜ (ਜਾ ਚਿਤਰ ਫਾਈਲਾ ਦ ਕਿਸ ਸਮਹ) ਨ ਸਿਧਾ ਇਕ ਖਜ ਯਗ ਪੀਡੀਐਫ ਵਿਚ ਬਦਲ, ਜਿਸ ਨ ਇਟਰਾਨਟ, ਵਬਸਾਈਟ ਅਤ ਗਗਲ ਸਰਚ ਇਜਣਾ ਦਆਰਾ ਸਚੀਬਧ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹ.

using IronOcr;

// Initialize IronTesseract for OCR operations
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;

using (var Input = new OcrInput())
{
    Input.AddMultiFrameTiff("example.tiff"); // Add a multi-frame TIFF for conversion
    // Export the OCR results directly to a searchable PDF
    var Result = Ocr.Read(Input).SaveAsSearchablePdf("searchable.pdf");
}

HTML ਦ ਰਪ ਵਿਚ ਓਸੀਆਰ ਦ ਨਤੀਜ ਨਿਰਯਾਤ ਕਰ

ਓਸੀਆਰ ਚਿਤਰ ਨ ਐਕਸਐਚਟੀਐਮਐਲ ਰਪਾਤਰਣ ਵਿਚ.

using IronOcr;

// Initialize IronTesseract for OCR operations
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;

using (var Input = new OcrInput())
{
    Input.Title = "Html Title"; // Assign a title for the HTML output
    Input.AddImage("image1.jpeg"); // Add image to process

    var Result = Ocr.Read(Input);
    // Export the OCR results to an HTML file
    Result.SaveAsHocrFile("results.html");
}

ਓਸੀਆਰ ਚਿਤਰ ਸਧਾਰ ਫਿਲਟਰ

ਆਇਰਨ ਓਸੀਆਰ OcrInput ਵਸਤਆ ਲਈ ਓਸੀਆਰ ਦੀ ਕਾਰਗਜਾਰੀ ਨ ਬਿਹਤਰ ਬਣਾਉਣ ਲਈ ਵਿਲਖਣ ਫਿਲਟਰ ਪਰਦਾਨ ਕਰਦਾ ਹ.

ਚਿਤਰ ਸਸਧਨ ਕਡ ਦੀ ਉਦਾਹਰਣ

ਓਸੀਆਰ ਇਪਟ ਚਿਤਰਾ ਨ ਬਿਹਤਰ, ਤਜ ਓਸੀਆਰ ਨਤੀਜ ਪਦਾ ਕਰਨ ਲਈ ਉਚ ਗਣਵਤਾ ਪਰਦਾਨ ਕਰਦਾ ਹ.

using IronOcr;

// Initialize IronTesseract for OCR operations
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;

using (var Input = new OcrInput(@"LowQuality.jpeg"))
{
    Input.DeNoise(); // Reduce digital noise and improve image clarity
    Input.Deskew();  // Adjust skewed images for stronger OCR performance
    var Result = Ocr.Read(Input);
    // Display the OCR result text
    Console.WriteLine(Result.Text);
}

OCR ਚਿਤਰ ਫਿਲਟਰ ਦੀ ਸਚੀ

ਓਸੀਆਰ ਦੀ ਕਾਰਗਜਾਰੀ ਨ ਵਧਾਉਣ ਲਈ ਇਨਪਟ ਫਿਲਟਰ ਜ ਆਇਰਨ ਓਸੀਆਰ ਵਿਚ ਬਣਾਏ ਜਾਦ ਹਨ ਵਿਚ ਸਾਮਲ ਹਨ:

  • OcrInput.Rotate(double degrees) - Rotates the image a specified number of degrees clockwise. Use negative numbers for counter-clockwise.
  • OcrInput.Binarize() - Converts every pixel to either black or white, removing all intermediate shades. Useful in cases of poor contrast between text and background.
  • OcrInput.ToGrayScale() - Converts each pixel to grayscale. May improve speed but not necessarily accuracy.
  • OcrInput.Contrast() - Automatically boosts contrast. Improves speed and accuracy for low contrast scans significantly.
  • OcrInput.DeNoise() - Removes digital noise, most useful where such issues are anticipated.
  • OcrInput.Invert() - Inverts all colors, useful where text is white on a black background.
  • OcrInput.Dilate() - Advanced morphological operation that adds pixels to the boundaries of objects to emphasize features. Opposite of erode.
  • OcrInput.Erode() - Removes pixels at object boundaries, contrasting dilation.
  • OcrInput.Deskew() - Rotates an image forward or backward to make it orthogonal, invaluable for skewed scans where Tesseract tolerance can be low.
  • OcrInput.DeepCleanBackgroundNoise() - Handles heavy background noise removal, appropriate for known high-noise circumstances but costly in CPU and could reduce clean document accuracy.
  • OcrInput.EnhanceResolution - Enhances resolution of low-density images autonomously. Not commonly needed as low resolution is managed automatically by OcrInput.MinimumDPI and OcrInput.TargetDPI settings.

CleanBackgroundNoise is time-consuming but invaluable for eliminating noise, crumples and deficiencies making OCR possible where otherwise not so.

EnhanceContrast automatically amplifies contrast against the background, boosting performance and reliability.

EnhanceResolution upgrades resolution below 275 DPI, sharpening down-sampled text to render OCRing feasible, reducing total duration over its singular time cost.

Language support across 22 international languages via integratable language packs.

Strategy allows opting between rapid low-fidelity scanning or detailed accuracy-enhancing scans modeling word relationships.

ColorSpace decides between grayscale or color, where sometimes full-color contrast provides superior results.

DetectWhiteTextOnDarkBackground designed for scanning dark pages correctly.

InputImageType specifies whether scanning a whole document or merely a screenshot snippet.

RotateAndStraighten is configured for reading documents that aren't just rotated but potentially perceptually warped.

ReadBarcode automatically scans PDF/pages for barcodes or QRs while processing text.

Color dictates bits per pixel defining color depth, impacting quality and processing times.

126 ਭਾਸਾ ਪਕਸ

ਆਇਰਨ ਓਸੀਆਰ ਭਾਸਾ ਪਕਾ ਰਾਹੀ 126 ਅਤਰਰਾਸਟਰੀ ਭਾਸਾਵਾ ਦਾ ਸਮਰਥਨ ਕਰਦਾ ਹ ਜ ਡੀਐਲਐਲ ਵਜ ਵਡੀਆ ਜਾਦੀਆ ਹਨ, ਜ ਇਸ ਵਬਸਾਈਟਡਾ from ਨਲਡ ਕੀਤੀਆ ਜਾ ਸਕਦੀਆ ਹਨ, ਜਾ ਨਗਟ ਪਕਜ ਪਰਬਧਕ ਤ ਵੀ.

ਭਾਸਾਵਾ ਵਿਚ ਜਰਮਨ, ਫਰਚ, ਅਗਰਜੀ, ਚੀਨੀ, ਜਪਾਨੀ ਅਤ ਹਰ ਬਹਤ ਸਾਰੀਆ ਚੀਜਾ ਸਾਮਲ ਹਨ. ਪਾਸਪਰਟ ਐਮਆਰਜਡ, ਐਮਆਈਸੀਆਰ ਜਾਚਾ, ਵਿਤੀ ਡਟਾ, ਲਾਇਸਸ ਪਲਟਾ ਅਤ ਹਰ ਬਹਤ ਸਾਰ ਲਈ ਮਾਹਿਰ ਭਾਸਾ ਦ ਪਕ ਮਜਦ ਹਨ. ਤਸੀ ਕਿਸ ਵੀ ਟਸਕਰਕਟ ".ਟਰਨਡਟਾ" ਫਾਈਲ ਦੀ ਵਰਤ ਵੀ ਕਰ ਸਕਦ ਹ - ਜਿਸ ਵਿਚ ਤਸੀ ਖਦ ਬਣਾਉਦ ਹ.

ਭਾਸਾ ਦੀ ਉਦਾਹਰਣ

ਹਰ ਓਸੀਆਰ ਭਾਸਾਵਾ ਦੀ ਵਰਤ ਕਰਨਾ.

using IronOcr;
// PM> Install-Package IronOcr.Languages.Arabic

// Initialize IronTesseract for Arabic OCR operations
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Arabic;

using (var Input = new OcrInput())
{
    Input.AddImage("img/arabic.gif"); // Add image with Arabic text
    // If needed, include image filter adjustments
    // Even low-quality inputs could be read by IronTesseract

    var Result = Ocr.Read(Input);

    // Console in Windows may not print Arabic correctly
    // Save the result to a file instead
    Result.SaveAsTextFile("arabic.txt");
}

ਬਹ ਭਾਸਾ ਉਦਾਹਰਣ

ਓਸੀਆਰ ਦਾ ਇਕ ਸਮ ਕਈ ਭਾਸਾਵਾ ਦੀ ਵਰਤ ਕਰਨਾ ਵੀ ਸਭਵ ਹ. ਇਹ ਯਨੀਕਡ ਦਸਤਾਵਜਾ ਵਿਚ ਅਗਰਜੀ ਭਾਸਾ ਦ ਮਟਾਡਟਾ ਅਤ url ਪਰਾਪਤ ਕਰਨ ਵਿਚ ਸਚਮਚ ਮਦਦ ਕਰ ਸਕਦਾ ਹ.

using IronOcr;
// PM> Install-Package IronOcr.Languages.ChineseSimplified

// Set up IronTesseract for multi-language OCR
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.ChineseSimplified;
Ocr.AddSecondaryLanguage(OcrLanguage.Panjabi); // Add additional languages

// Multiple languages can be set if needed
using (var Input = new OcrInput())
{
    Input.Add("multi-language.pdf"); // Add multi-language PDF for OCR
    var Result = Ocr.Read(Input);
    // Save the obtained text result to a file
    Result.SaveAsTextFile("results.txt");
}

ਵਰਵ ਦ ਨਾਲ OCR ਨਤੀਜ ਇਕਾਈ

ਆਇਰਨ ਓਸੀਆਰ ਹਰਕ ਓਸੀਆਰ ਓਪਰਸਨ ਲਈ ਇਕ ਓਸੀਆਰ ਨਤੀਜਾ ਵਸਤ ਵਾਪਸ ਕਰਦਾ ਹ. ਆਮ ਤਰ ਤ, ਡਿਵਲਪਰ ਸਿਰਫ ਚਿਤਰ ਤ ਸਕਨ ਕਰਵਾਉਣ ਲਈ ਇਸ ਆਬਜਕਟ ਦੀ ਟਕਸਟ ਜਾਇਦਾਦ ਦੀ ਵਰਤ ਕਰਦ ਹਨ. ਹਾਲਾਕਿ, ਓਸੀਆਰ ਦ ਨਤੀਜ ਡਮ ਇਸ ਤ ਕਿਤ ਵਧਰ ਉਨਤ ਹਨ.

using IronOcr;
using System.Drawing; // Necessary for advanced OCR options

// Configure IronTesseract for advanced OCR
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Panjabi;
Ocr.Configuration.EngineMode = TesseractEngineMode.TesseractAndLstm;
Ocr.Configuration.ReadBarCodes = true; // Important for barcode reading

using (var Input = new OcrInput(@"images\sample.tiff"))
{
    OcrResult Result = Ocr.Read(Input);
    var Pages = Result.Pages; // Access the page collection
    var Words = Pages[0].Words; // Access words of the first page
    var Barcodes = Result.Barcodes; // Access detected barcodes

    // Explore an extensive API to access:
    // - Pages, Blocks, Paragraphs, Lines, Words, Characters
    // - Image export, font coordinates, and statistical details
}

ਪਰਦਰਸਨ

ਆਇਰਨ ਓਸੀਆਰ ਬਾਕਸ ਤ ਬਾਹਰ ਕਮ ਕਰਦਾ ਹ ਪਰਫਾਰਮਸ ਟਿ .ਨ ਜਾ ਇਪਟ ਚਿਤਰਾ ਨ ਭਾਰੀ ਸਧਣ ਦੀ ਕਈ ਜਰਰਤ ਨਹੀ.

ਸਪੀਡ ਬਲਜਿਗ ਹ: ਆਇਰਨ ਓ.ਸੀ.ਆਰ.2020 + 10 ਗਣਾ ਤਜ ਹ ਅਤ ਪਿਛਲੀਆ ਉਸਾਰੀ ਨਾਲ 250% ਤ ਵੀ ਘਟ ਗਲਤੀਆ ਕਰਦਾ ਹ.

ਜਿਆਦਾ ਜਾਣ

ਸੀ #, ਵੀ ਬੀ, ਐਫ #, ਜਾ ਕਈ ਹਰ .NET ਭਾਸਾ ਵਿਚ ਓਸੀਆਰ ਬਾਰ ਵਧਰ ਜਾਣਨ ਲਈ, ਕਿਰਪਾ ਕਰਕ ਸਾਡ ਕਮਿ community ਨਿਟੀ ਟਿutorialਟਰਿਅਲਸ ਪੜਹ, ਜ ਕਿ ਅਸਲ ਸਸਾਰ ਦੀਆ ਉਦਾਹਰਣਾ ਦਿਦ ਹਨ ਕਿ ਕਿਵ ਆਇਰਨ ਓਸੀਆਰ ਦੀ ਵਰਤ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹ ਅਤ ਇਸ ਤ ਵਧੀਆ ਤਰੀਕ ਕਿਵ ਪਰਾਪਤ ਕੀਤ ਜਾ ਸਕਦ ਹਨ ਦੀ ਸਖਪਤਾ ਦਰਸਾਉਦੀ ਹ. ਇਹ ਲਾਇਬਰਰੀ

.NET ਡਿਵਲਪਰਾ ਲਈ ਪਰਾ ਇਕਾਈ ਦਾ ਹਵਾਲਾ ਵੀ ਉਪਲਬਧ ਹ.

Curtis Chau
기술 문서 작성자

커티스 차우는 칼턴 대학교에서 컴퓨터 과학 학사 학위를 취득했으며, Node.js, TypeScript, JavaScript, React를 전문으로 하는 프론트엔드 개발자입니다. 직관적이고 미적으로 뛰어난 사용자 인터페이스를 만드는 데 열정을 가진 그는 최신 프레임워크를 활용하고, 잘 구성되고 시각적으로 매력적인 매뉴얼을 제작하는 것을 즐깁니다.

...
더 읽어보기

시작할 준비 되셨나요?

Nuget Downloads 6,236,385버전:2026.9방금 출시

지금 바로 30일 무료 체험판 키를 받으세요.
신용카드나 계정 생성은 필요하지 않습니다.
PDF용 C# NuGet 라이브러리
NuGet을 사용하여 설치하세요

버전: 2026.9

PM > Install-Package IronOcr
nuget.org/packages/IronOcr/
  1. 솔루션 탐색기에서 참조를 마우스 오른쪽 버튼으로 클릭하고 NuGet 패키지 관리를 선택합니다.
  2. 찾아보기를 선택하고 "IronOCR"을 검색하세요.
  3. 패키지를 선택하고 설치하세요
C# PDF DLL
DLL 다운로드

버전: 2026.9

또는 여기에서 Windows 설치 프로그램을 다운로드하십시오.

  1. IronOCR을 다운로드하고 솔루션 디렉터리 내의 ~/Libs와 같은 위치에 압축을 푸세요.
  2. Visual Studio 솔루션 탐색기에서 참조를 마우스 오른쪽 버튼으로 클릭합니다. 찾아보기를 선택하고 "IronOCR.dll"을 선택합니다.

라이선스 가격은 749달러 부터 시작합니다.

Key in blue circle

무료 30일 체험 키를 즉시 받으세요.

Your trial license will be sent to your email address

제한 없음. 100% 무제한 이용. 신용카드 불필요.

bullet_checked신용카드나 계정 생성은 필요하지 않습니다.제한 없음. 100% 무제한 이용. 신용카드 불필요.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
부담 없는 무료 상담을 받아보세요
아래 양식을 작성하시거나 sales@ironsoftware.com으로 이메일을 보내주세요.
고객님의 정보는 항상 비밀로 유지됩니다.
전 세계 수백만 엔지니어들이 신뢰하는 제품입니다.
Iron Software의 고객 로고
지금 바로 30일 무료 체험판 키를 받으세요.
신용카드나 계정 생성은 필요하지 않습니다.