ਸੀ # ਅਤੇ .ਨੇਟ ਵਿਚ ਪੰਜਾਬੀ ਓ.ਸੀ.ਆਰ.
ਇਸ ਦਸਤਾਵੇਜ਼ ਦੇ ਹੋਰ ਸੰਸਕਰਣ:
ਆਇਰਨ ਓਆਰਸੀਆਰ ਇੱਕ ਸੀ # ਸੌਫਟਵੇਅਰ ਭਾਗ ਹੈ ਜਿਸ ਨਾਲ .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);
}
// 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);
}
' PM> Install-Package IronOcr.Languages.Panjabi
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
Using Input = New OcrInput("images\Panjabi.png")
Dim Result = Ocr.Read(Input)
Dim AllText = Result.Text
' Print the entire text to the console.
Console.WriteLine(AllText)
End Using
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;
// Simple single line OCR conversion
string Text = new IronTesseract().Read(@"img\Screenshot.png").Text;
' Simple single line OCR conversion
Dim Text As String = (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);
}
// 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);
}
' PM> Install-Package IronOCR.Languages.Panjabi
Imports IronOcr
' Create a new instance of IronTesseract
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
' Create an OcrInput to process images for OCR
Using Input = New OcrInput()
' Add an image for OCR processing
Input.AddImage("images/sample.jpeg")
'... You can add multiple images for batch processing
Dim Result = Ocr.Read(Input)
' Output the resulting text to the console
Console.WriteLine(Result.Text)
End Using
ਸੀ # ਪੀਡੀਐਫ ਓਸੀਆਰ
ਉਸੇ ਹੀ ਪਹੁੰਚ ਨੂੰ ਕਿਸੇ ਵੀ ਪੀਡੀਐਫ ਦਸਤਾਵੇਜ਼ ਤੋਂ ਟੈਕਸਟ ਐਕਸਟਰੈਕਟ ਕਰਨ ਲਈ ਵਰਤਿਆ ਜਾ ਸਕਦਾ ਹੈ.
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 ਪੰਨਾ
}
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 ਪੰਨਾ
}
Imports IronOcr
' Initialize IronTesseract for OCR operations
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
' Process PDF documents for OCR
Using Input = New OcrInput()
Input.AddPdf("example.pdf", "password") ' Add PDF with optional password
' Choose specific pages for OCR, if necessary
Dim 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 ਪੰਨਾ
End Using
ਮਲਟੀਪੇਜ ਟੀਆਈਐਫਐਫ ਲਈ ਓਸੀਆਰ
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);
}
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);
}
Imports IronOcr
' Initialize IronTesseract for OCR operations
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
' Process multi-frame TIFF images for OCR
Using Input = New OcrInput()
Input.AddMultiFrameTiff("multi-frame.tiff") ' Add multi-page TIFF file
Dim Result = Ocr.Read(Input)
' Output the resulting text to the console
Console.WriteLine(Result.Text)
End Using
ਬਾਰਕੋਡਸ ਅਤੇ ਕਿ 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
}
}
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
}
}
Imports IronOcr
' Initialize IronTesseract for OCR operations
Private Ocr = New IronTesseract()
Ocr.Configuration.ReadBarCodes = True ' Enable barcode reading
Using Input = New OcrInput()
Input.AddImage("img/Barcode.png") ' Add image containing barcode
Dim Result = Ocr.Read(Input)
' Loop through detected barcodes
For Each Barcode In Result.Barcodes
Console.WriteLine(Barcode.Value) ' Print barcode values
' Additional properties like type and location are also available
Next Barcode
End Using
ਚਿੱਤਰਾਂ ਦੇ ਖਾਸ ਖੇਤਰਾਂ 'ਤੇ ਓ.ਸੀ.ਆਰ.
ਆਇਰਨ ਓਸੀਆਰ ਦੇ ਸਾਰੇ ਸਕੈਨਿੰਗ ਅਤੇ ਪੜ੍ਹਨ ਦੇ 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);
}
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);
}
Imports IronOcr
Imports System.Drawing ' Required for Rectangle class
' Initialize IronTesseract for OCR operations
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
Using Input = New OcrInput()
' Define a specific area on the image to perform OCR
Dim ContentArea = New Rectangle() With {
.X = 215,
.Y = 1250,
.Height = 280,
.Width = 1335
}
Input.Add("document.png", ContentArea) ' Add the cropped area for OCR
Dim Result = Ocr.Read(Input)
' Print the text detected within the specified rectangle
Console.WriteLine(Result.Text)
End Using
ਘੱਟ ਕੁਆਲਟੀ ਸਕੈਨ ਲਈ ਓ.ਸੀ.ਆਰ.
ਆਇਰਨ ਓਸੀਆਰ 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(@"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);
}
Imports IronOcr
' Initialize IronTesseract for OCR operations
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
Using Input = New OcrInput("img\Potter.LowQuality.tiff")
Input.DeNoise() ' Mitigate digital noise and low-quality scanning
Input.Deskew() ' Correct rotation and tilts
Dim Result = Ocr.Read(Input)
' Output the resulting text to the console
Console.WriteLine(Result.Text)
End Using
ਓਸੀਆਰ ਦੇ ਨਤੀਜਿਆਂ ਨੂੰ ਖੋਜਣ ਯੋਗ ਪੀਡੀਐਫ ਦੇ ਰੂਪ ਵਿੱਚ ਨਿਰਯਾਤ ਕਰੋ
ਚਿੱਤਰ ਨੂੰ ਕਾੱਪੀ ਜਾ ਸਕਣ ਵਾਲੇ ਟੈਕਸਟ ਸਤਰਾਂ ਦੇ ਨਾਲ. ਖੋਜ ਇੰਜਨ ਅਤੇ ਡਾਟਾਬੇਸ ਦੁਆਰਾ ਇੰਡੈਕਸ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ.
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.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");
}
Imports IronOcr
' Initialize IronTesseract for OCR operations
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
Using 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")
Dim Result = Ocr.Read(Input)
' Export the OCR results to a searchable PDF
Result.SaveAsSearchablePdf("searchable.pdf")
End Using
ਖੋਜਣ ਯੋਗ ਪੀਡੀਐਸ ਰੂਪਾਂਤਰਣ ਲਈ ਟੀਆਈਐਫਐਫ
ਇੱਕ ਟੀਆਈਐਫਐਫ ਦਸਤਾਵੇਜ਼ (ਜਾਂ ਚਿੱਤਰ ਫਾਈਲਾਂ ਦੇ ਕਿਸੇ ਸਮੂਹ) ਨੂੰ ਸਿੱਧਾ ਇੱਕ ਖੋਜ ਯੋਗ ਪੀਡੀਐਫ ਵਿੱਚ ਬਦਲੋ, ਜਿਸ ਨੂੰ ਇੰਟ੍ਰਾਨੈੱਟ, ਵੈੱਬਸਾਈਟ ਅਤੇ ਗੂਗਲ ਸਰਚ ਇੰਜਣਾਂ ਦੁਆਰਾ ਸੂਚੀਬੱਧ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ.
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");
}
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");
}
Imports IronOcr
' Initialize IronTesseract for OCR operations
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
Using Input = New OcrInput()
Input.AddMultiFrameTiff("example.tiff") ' Add a multi-frame TIFF for conversion
' Export the OCR results directly to a searchable PDF
Dim Result = Ocr.Read(Input).SaveAsSearchablePdf("searchable.pdf")
End Using
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");
}
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");
}
Imports IronOcr
' Initialize IronTesseract for OCR operations
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
Using Input = New OcrInput()
Input.Title = "Html Title" ' Assign a title for the HTML output
Input.AddImage("image1.jpeg") ' Add image to process
Dim Result = Ocr.Read(Input)
' Export the OCR results to an HTML file
Result.SaveAsHocrFile("results.html")
End Using
ਓਸੀਆਰ ਚਿੱਤਰ ਸੁਧਾਰ ਫਿਲਟਰ
ਆਇਰਨ ਓਸੀਆਰ 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);
}
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);
}
Imports IronOcr
' Initialize IronTesseract for OCR operations
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
Using Input = New OcrInput("LowQuality.jpeg")
Input.DeNoise() ' Reduce digital noise and improve image clarity
Input.Deskew() ' Adjust skewed images for stronger OCR performance
Dim Result = Ocr.Read(Input)
' Display the OCR result text
Console.WriteLine(Result.Text)
End Using
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");
}
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");
}
Imports IronOcr
' PM> Install-Package IronOcr.Languages.Arabic
' Initialize IronTesseract for Arabic OCR operations
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Arabic
Using 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
Dim Result = Ocr.Read(Input)
' Console in Windows may not print Arabic correctly
' Save the result to a file instead
Result.SaveAsTextFile("arabic.txt")
End Using
ਬਹੁ ਭਾਸ਼ਾ ਉਦਾਹਰਣ
ਓਸੀਆਰ ਦਾ ਇੱਕੋ ਸਮੇਂ ਕਈ ਭਾਸ਼ਾਵਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨਾ ਵੀ ਸੰਭਵ ਹੈ. ਇਹ ਯੂਨੀਕੋਡ ਦਸਤਾਵੇਜ਼ਾਂ ਵਿਚ ਅੰਗਰੇਜ਼ੀ ਭਾਸ਼ਾ ਦੇ ਮੈਟਾਡੇਟਾ ਅਤੇ 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");
}
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");
}
Imports IronOcr
' PM> Install-Package IronOcr.Languages.ChineseSimplified
' Set up IronTesseract for multi-language OCR
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.ChineseSimplified
Ocr.AddSecondaryLanguage(OcrLanguage.Panjabi) ' Add additional languages
' Multiple languages can be set if needed
Using Input = New OcrInput()
Input.Add("multi-language.pdf") ' Add multi-language PDF for OCR
Dim Result = Ocr.Read(Input)
' Save the obtained text result to a file
Result.SaveAsTextFile("results.txt")
End Using
ਵੇਰਵੇ ਦੇ ਨਾਲ 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
}
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
}
Imports IronOcr
Imports System.Drawing ' Necessary for advanced OCR options
' Configure IronTesseract for advanced OCR
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Panjabi
Ocr.Configuration.EngineMode = TesseractEngineMode.TesseractAndLstm
Ocr.Configuration.ReadBarCodes = True ' Important for barcode reading
Using Input = New OcrInput("images\sample.tiff")
Dim Result As OcrResult = Ocr.Read(Input)
Dim Pages = Result.Pages ' Access the page collection
Dim Words = Pages(0).Words ' Access words of the first page
Dim 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
End Using
ਪ੍ਰਦਰਸ਼ਨ
ਆਇਰਨ ਓਸੀਆਰ ਬਾਕਸ ਤੋਂ ਬਾਹਰ ਕੰਮ ਕਰਦਾ ਹੈ ਪਰਫਾਰਮੈਂਸ ਟਿ .ਨ ਜਾਂ ਇੰਪੁੱਟ ਚਿੱਤਰਾਂ ਨੂੰ ਭਾਰੀ ਸੋਧਣ ਦੀ ਕੋਈ ਜ਼ਰੂਰਤ ਨਹੀਂ.
ਸਪੀਡ ਬਲੈਜਿੰਗ ਹੈ: ਆਇਰਨ ਓ.ਸੀ.ਆਰ.2020 + 10 ਗੁਣਾ ਤੇਜ਼ ਹੈ ਅਤੇ ਪਿਛਲੀਆਂ ਉਸਾਰੀ ਨਾਲੋਂ 250% ਤੋਂ ਵੀ ਘੱਟ ਗਲਤੀਆਂ ਕਰਦਾ ਹੈ.
ਜਿਆਦਾ ਜਾਣੋ
ਸੀ #, ਵੀ ਬੀ, ਐੱਫ #, ਜਾਂ ਕੋਈ ਹੋਰ .NET ਭਾਸ਼ਾ ਵਿੱਚ ਓਸੀਆਰ ਬਾਰੇ ਵਧੇਰੇ ਜਾਣਨ ਲਈ, ਕਿਰਪਾ ਕਰਕੇ ਸਾਡੇ ਕਮਿ community ਨਿਟੀ ਟਿutorialਟੋਰਿਅਲਸ ਪੜ੍ਹੋ, ਜੋ ਕਿ ਅਸਲ ਸੰਸਾਰ ਦੀਆਂ ਉਦਾਹਰਣਾਂ ਦਿੰਦੇ ਹਨ ਕਿ ਕਿਵੇਂ ਆਇਰਨ ਓਸੀਆਰ ਦੀ ਵਰਤੋਂ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ ਅਤੇ ਇਸ ਤੋਂ ਵਧੀਆ ਤਰੀਕੇ ਕਿਵੇਂ ਪ੍ਰਾਪਤ ਕੀਤੇ ਜਾ ਸਕਦੇ ਹਨ ਦੀ ਸੰਖੇਪਤਾ ਦਰਸਾਉਂਦੀ ਹੈ. ਇਹ ਲਾਇਬ੍ਰੇਰੀ
.NET ਡਿਵੈਲਪਰਾਂ ਲਈ ਪੂਰਾ ਇਕਾਈ ਦਾ ਹਵਾਲਾ ਵੀ ਉਪਲਬਧ ਹੈ.