C# మరయు .NET ల తలుగు OCR
ఈ పతరం యకక ఇతర సంసకరణలు:
ఐరనఓసఆర అనద C# సఫటవర భగం, .NET కడరలు తలుగుత సహ 126 భషల చతరలు మరయు PDF పతరల నుండ వచననన చదవడనక అనుమతసతుంద.
ఇద టసరకట యకక అధునతన ఫరక, ఇద .NET డవలపరల కసం పరతయకంగ నరమంచబడంద మరయు వగం మరయు ఖచచతతవం రండంటక ఇతర టసరకట ఇంజనలను కరమం తపపుగ అధగమసతుంద.
IronOcr.Languages.Telugu యకక వషయలు
ఈ పయకజ .NET కసం 108 OCR భషలను కలగ ఉంద:
- తలుగు
- తలుగుబసట
- తలుగుఫసట
- తలుగు ఆలఫబట
- తలుగు ఆలఫబట బసట
- తలుగు ఆలఫబట ఫసట
డనలడ
తలుగు భష పయక [తలుగు]
* Download as జప
* Install with as https://www.nuget.org/packages/IronOcr.Languages.Telugu/'> నుగట
సంసథపన
మము చయవలసన మదట వషయం మ .NET పరజకటకు మ తలుగు OCR పయకజన వయవసథపంచడం.
PM> Install-Package IronOCR.Languages.Telugu
కడ ఉదహరణ
ఈ C# కడ ఉదహరణ చతరం లద PDF పతరం నుండ తలుగు వచననన చదువుతుంద.
// PM> Install-Package IronOcr.Languages.Telugu
using IronOcr;
// Create an instance of IronTesseract for OCR operations
var Ocr = new IronTesseract();
// Set the language to Telugu
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput(@"images\Telugu.png"))
{
// Perform OCR on the input image
var Result = Ocr.Read(Input);
// Get all the recognized text
var AllText = Result.Text;
// Output the recognized text to console
Console.WriteLine(AllText);
}
// PM> Install-Package IronOcr.Languages.Telugu
using IronOcr;
// Create an instance of IronTesseract for OCR operations
var Ocr = new IronTesseract();
// Set the language to Telugu
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput(@"images\Telugu.png"))
{
// Perform OCR on the input image
var Result = Ocr.Read(Input);
// Get all the recognized text
var AllText = Result.Text;
// Output the recognized text to console
Console.WriteLine(AllText);
}
' PM> Install-Package IronOcr.Languages.Telugu
Imports IronOcr
' Create an instance of IronTesseract for OCR operations
Private Ocr = New IronTesseract()
' Set the language to Telugu
Ocr.Language = OcrLanguage.Telugu
' Using block to ensure resources are disposed correctly
Using Input = New OcrInput("images\Telugu.png")
' Perform OCR on the input image
Dim Result = Ocr.Read(Input)
' Get all the recognized text
Dim AllText = Result.Text
' Output the recognized text to console
Console.WriteLine(AllText)
End Using
ఐరనఓసఆర ఎందుకు ఎంచుకవల?
ఐరన OCR అనద ఇనసటల చయడం సులభం, పూరత మరయు చకకగ లఖతం చయబడన .NET సఫటవర లబరర.
బహయ వబ సవలు, కనసగుతునన ఫజులు లద ఇంటరనట దవర రహసయ పతరలను పంపకుండ 99.8% + OCR ఖచచతతవనన సధంచడనక ఐరనఓసఆర ఎంచుకండ.
C# డవలపరలు వనలల టసరకట కంట ఐరనఓసఆరను ఎందుకు ఎంచుకుంటరు:
- ఒక DLL లద నుగటగ ఇనసటల చయండ
- బకస వలుపల టసరకట 5, 4 మరయు 3 ఇంజనల కసం ఉంటుంద.
- ఖచచతతవం 99.8% సధరణ టసరకటను గణనయంగ అధగమసతుంద.
- మండుతునన వగం మరయు మలటథరడంగ
- MVC, వబఅప, డసకటప, కనసల & సరవర అపలకషన అనుకూలమనద
- పన చయడనక Exes లద C++ కడ లదు
- సంపూరణ PDF OCR మదదతు
- OCR ను దదపు ఏదన ఇమజ ఫల లద PDF చయడనక
- సంపూరణ .NET కర, సటండరడ మరయు ఫరమవరక మదదతు
- వండస, మక, లనకస, అజూర, డకర, లంబడ, AWS లల అమరచండ
- బరకడలు మరయు కయూఆర కడలను చదవండ
- OCR ను XHTML గ ఎగుమత చయండ
- శధంచదగన PDF పతరలకు OCR న ఎగుమత చయండ
- మలటథరడంగ మదదతు
- 126 అంతరజతయ భషలు అనన నుగట లద ఓకరడట ఫళల దవర నరవహంచబడతయ
- చతరలు, కఆరడనటలు, గణంకలు మరయు ఫంటలను సంగరహంచండ, వచనం మతరమ కదు.
- వణజయ మరయు యజమనయ అనువరతనలల టసరకట OCR ను పున ist పంపణ చయడనక ఉపయగంచవచచు.
వసతవ పరపంచ చతరలు మరయు ఛయచతరలు వంట అసంపూరణ పతరలత లద డజటల శబదం లద లపలను కలగ ఉనన తకకువ రజలయూషన సకనలత పనచసటపపుడు ఐరన OCR పరకశసతుంద.
.NET పలటఫం కసం ఇతర ఉచత OCR లబరరలు ఈ ఇతర వసతవ పరపంచ వనయగ సందరభలల అంత బగ పనచయవు.
టసరకట 5 త OCR - C#ల కడంగ పరరంభంచండ
దగువ కడ నమూన C# లద VB .NET ఉపయగంచ చతరం నుండ వచననన చదవడం ఎంత సులభమ చూపసతుంద.
వనలనర
// Single line OCR operation to extract text from an image
string Text = new IronTesseract().Read(@"img\Screenshot.png").Text;
Console.WriteLine(Text);
// Single line OCR operation to extract text from an image
string Text = new IronTesseract().Read(@"img\Screenshot.png").Text;
Console.WriteLine(Text);
' Single line OCR operation to extract text from an image
Dim Text As String = (New IronTesseract()).Read("img\Screenshot.png").Text
Console.WriteLine(Text)
కనఫగర హల వరలడ
// PM> Install-Package IronOCR.Languages.Telugu
using IronOcr;
// Create an instance of IronTesseract for OCR operations
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Add image to the OCR input
Input.AddImage("images/sample.jpeg");
//... Add any number of images you want
var Result = Ocr.Read(Input);
// Output the recognized text to console
Console.WriteLine(Result.Text);
}
// PM> Install-Package IronOCR.Languages.Telugu
using IronOcr;
// Create an instance of IronTesseract for OCR operations
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Add image to the OCR input
Input.AddImage("images/sample.jpeg");
//... Add any number of images you want
var Result = Ocr.Read(Input);
// Output the recognized text to console
Console.WriteLine(Result.Text);
}
' PM> Install-Package IronOCR.Languages.Telugu
Imports IronOcr
' Create an instance of IronTesseract for OCR operations
Private Ocr = New IronTesseract()
' Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu
' Using block to ensure resources are disposed correctly
Using Input = New OcrInput()
' Add image to the OCR input
Input.AddImage("images/sample.jpeg")
'... Add any number of images you want
Dim Result = Ocr.Read(Input)
' Output the recognized text to console
Console.WriteLine(Result.Text)
End Using
C# పడఎఫ ఓసఆర
ఏదన పడఎఫ పతరం నుండ వచననన సకరంచందుకు ఇద వధననన ఉపయగంచవచచు.
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var input = new OcrInput())
{
// Add a protected PDF file to the input
input.AddPdf("example.pdf", "password");
// Perform OCR on the input PDF
var Result = Ocr.Read(input);
// Output the recognized text and page count
Console.WriteLine(Result.Text);
Console.WriteLine($"{Result.Pages.Count()} Pages");
// Each page of the PDF is processed
}
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var input = new OcrInput())
{
// Add a protected PDF file to the input
input.AddPdf("example.pdf", "password");
// Perform OCR on the input PDF
var Result = Ocr.Read(input);
// Output the recognized text and page count
Console.WriteLine(Result.Text);
Console.WriteLine($"{Result.Pages.Count()} Pages");
// Each page of the PDF is processed
}
Imports IronOcr
' Initialize the OCR engine for processing
Private Ocr = New IronTesseract()
' Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu
' Using block to ensure resources are disposed correctly
Using input = New OcrInput()
' Add a protected PDF file to the input
input.AddPdf("example.pdf", "password")
' Perform OCR on the input PDF
Dim Result = Ocr.Read(input)
' Output the recognized text and page count
Console.WriteLine(Result.Text)
Console.WriteLine($"{Result.Pages.Count()} Pages")
' Each page of the PDF is processed
End Using
మలటపజ TIFF ల కసం OCR
OCR బహుళ పజ పతరలత సహ TIFF ఫల ఆకృతన చదవడం. TIFF ను నరుగ శధంచదగన వచనంత PDF ఫలగ మరచవచచు.
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Add a multi-frame TIFF to the OCR input
Input.AddMultiFrameTiff("multi-frame.tiff");
// Perform OCR on the input TIFF
var Result = Ocr.Read(Input);
// Output the recognized text to console
Console.WriteLine(Result.Text);
}
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Add a multi-frame TIFF to the OCR input
Input.AddMultiFrameTiff("multi-frame.tiff");
// Perform OCR on the input TIFF
var Result = Ocr.Read(Input);
// Output the recognized text to console
Console.WriteLine(Result.Text);
}
Imports IronOcr
' Initialize the OCR engine for processing
Private Ocr = New IronTesseract()
' Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu
' Using block to ensure resources are disposed correctly
Using Input = New OcrInput()
' Add a multi-frame TIFF to the OCR input
Input.AddMultiFrameTiff("multi-frame.tiff")
' Perform OCR on the input TIFF
Dim Result = Ocr.Read(Input)
' Output the recognized text to console
Console.WriteLine(Result.Text)
End Using
బరకడలు మరయు కయూఆర
ఐరన OCR యకక పరతయక లకషణం ఏమటంట ఇద టకసట కసం సకన చసతుననపపుడు పతరల నుండ బరకడలు మరయు QR కడలను చదవగలదు. OcrResult.OcrBarcode
కలస యకక ఉదహరణలు పరత సకన చసన బరకడ గురంచ డవలపరకు వవరణతమక సమచరనన ఇసతయ.
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Configure to read barcodes from images
Ocr.Configuration.ReadBarCodes = true;
// Using block to ensure resources are disposed correctly
using (var input = new OcrInput())
{
// Add image containing barcodes to the OCR input
input.AddImage("img/Barcode.png");
// Perform OCR and get the result
var Result = Ocr.Read(input);
// Iterate over each detected barcode
foreach (var Barcode in Result.Barcodes)
{
// Output the value of the barcode to console
Console.WriteLine(Barcode.Value);
// Also exposes type and position properties
}
}
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Configure to read barcodes from images
Ocr.Configuration.ReadBarCodes = true;
// Using block to ensure resources are disposed correctly
using (var input = new OcrInput())
{
// Add image containing barcodes to the OCR input
input.AddImage("img/Barcode.png");
// Perform OCR and get the result
var Result = Ocr.Read(input);
// Iterate over each detected barcode
foreach (var Barcode in Result.Barcodes)
{
// Output the value of the barcode to console
Console.WriteLine(Barcode.Value);
// Also exposes type and position properties
}
}
Imports IronOcr
' Initialize the OCR engine for processing
Private Ocr = New IronTesseract()
' Configure to read barcodes from images
Ocr.Configuration.ReadBarCodes = True
' Using block to ensure resources are disposed correctly
Using input = New OcrInput()
' Add image containing barcodes to the OCR input
input.AddImage("img/Barcode.png")
' Perform OCR and get the result
Dim Result = Ocr.Read(input)
' Iterate over each detected barcode
For Each Barcode In Result.Barcodes
' Output the value of the barcode to console
Console.WriteLine(Barcode.Value)
' Also exposes type and position properties
Next Barcode
End Using
చతరల నరదషట పరంతలప OCR
ఐరన OCR యకక అనన సకనంగ మరయు పఠన పదధతులు మనం వచనం చదవలనుకుంటునన పజ లద పజలల ఏ భగం ఖచచతంగ పరకన సమరథయనన అందసతయ. మము పరమణక రూపలను చూసతుననపపుడు ఇద చల ఉపయగకరంగ ఉంటుంద మరయు చల సమయనన ఆద చసతుంద మరయు సమరథయనన మరుగుపరుసతుంద.
పంట పరంతలను ఉపయగంచడనక, మము System.Drawing
కు ససటమ రఫరనసను జడంచల, తదవర మము System.Drawing.Rectangle
object ను ఉపయగంచవచచు.
using IronOcr;
using System.Drawing; // Add System.Drawing reference
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Define a specific content area to scan
var ContentArea = new Rectangle() { X = 215, Y = 1250, Height = 280, Width = 1335 };
// Measurements are in pixels
// Add the image with the specified region
Input.Add("document.png", ContentArea);
// Perform OCR on the specified region of the image
var Result = Ocr.Read(Input);
// Output the recognized text to console
Console.WriteLine(Result.Text);
}
using IronOcr;
using System.Drawing; // Add System.Drawing reference
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Define a specific content area to scan
var ContentArea = new Rectangle() { X = 215, Y = 1250, Height = 280, Width = 1335 };
// Measurements are in pixels
// Add the image with the specified region
Input.Add("document.png", ContentArea);
// Perform OCR on the specified region of the image
var Result = Ocr.Read(Input);
// Output the recognized text to console
Console.WriteLine(Result.Text);
}
Imports IronOcr
Imports System.Drawing ' Add System.Drawing reference
' Initialize the OCR engine for processing
Private Ocr = New IronTesseract()
' Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu
' Using block to ensure resources are disposed correctly
Using Input = New OcrInput()
' Define a specific content area to scan
Dim ContentArea = New Rectangle() With {
.X = 215,
.Y = 1250,
.Height = 280,
.Width = 1335
}
' Measurements are in pixels
' Add the image with the specified region
Input.Add("document.png", ContentArea)
' Perform OCR on the specified region of the image
Dim Result = Ocr.Read(Input)
' Output the recognized text to console
Console.WriteLine(Result.Text)
End Using
తకకువ నణయత సకనల కసం OCR
ఐరన OCR OcrInput
కలస సధరణ OcrInput
సకనలను పరషకరంచగలదు.
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput(@"img\Potter.LowQuality.tiff"))
{
// Apply denoise to handle digital noise and poor scans
Input.DeNoise();
// Deskew to correct rotation and perspective
Input.Deskew();
// Perform OCR on the input image
var Result = Ocr.Read(Input);
// Output the recognized text to console
Console.WriteLine(Result.Text);
}
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput(@"img\Potter.LowQuality.tiff"))
{
// Apply denoise to handle digital noise and poor scans
Input.DeNoise();
// Deskew to correct rotation and perspective
Input.Deskew();
// Perform OCR on the input image
var Result = Ocr.Read(Input);
// Output the recognized text to console
Console.WriteLine(Result.Text);
}
Imports IronOcr
' Initialize the OCR engine for processing
Private Ocr = New IronTesseract()
' Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu
' Using block to ensure resources are disposed correctly
Using Input = New OcrInput("img\Potter.LowQuality.tiff")
' Apply denoise to handle digital noise and poor scans
Input.DeNoise()
' Deskew to correct rotation and perspective
Input.Deskew()
' Perform OCR on the input image
Dim Result = Ocr.Read(Input)
' Output the recognized text to console
Console.WriteLine(Result.Text)
End Using
OCR ఫలతలను శధంచదగన PDF గ ఎగుమత చయండ
కప చయదగన టకసట తగలత PDF కు చతరం. సరచ ఇంజనలు మరయు డటబసల దవర సూచక చయవచచు.
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Set the title for the PDF output
Input.Title = "Quarterly Report";
// Add multiple images to the OCR input
Input.AddImage("image1.jpeg");
Input.AddImage("image2.png");
Input.AddImage("image3.gif");
// Perform OCR on the input images
var Result = Ocr.Read(Input);
// Save the OCR result as a searchable PDF
Result.SaveAsSearchablePdf("searchable.pdf");
}
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Set the title for the PDF output
Input.Title = "Quarterly Report";
// Add multiple images to the OCR input
Input.AddImage("image1.jpeg");
Input.AddImage("image2.png");
Input.AddImage("image3.gif");
// Perform OCR on the input images
var Result = Ocr.Read(Input);
// Save the OCR result as a searchable PDF
Result.SaveAsSearchablePdf("searchable.pdf");
}
Imports IronOcr
' Initialize the OCR engine for processing
Private Ocr = New IronTesseract()
' Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu
' Using block to ensure resources are disposed correctly
Using Input = New OcrInput()
' Set the title for the PDF output
Input.Title = "Quarterly Report"
' Add multiple images to the OCR input
Input.AddImage("image1.jpeg")
Input.AddImage("image2.png")
Input.AddImage("image3.gif")
' Perform OCR on the input images
Dim Result = Ocr.Read(Input)
' Save the OCR result as a searchable PDF
Result.SaveAsSearchablePdf("searchable.pdf")
End Using
శధంచదగన PDF మరపడక TIFF
ఇంటరనట, వబసట మరయు గూగుల సరచ ఇంజనల దవర సూచంచబడ ఒక టఎఫఎఫ పతరనన (లద ఇమజ ఫళల సమూహం) నరుగ శధంచదగన పడఎఫకు మరచండ.
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Add a multi-frame TIFF to the OCR input
Input.AddMultiFrameTiff("example.tiff");
// Perform OCR on the input TIFF
var Result = Ocr.Read(Input);
// Save the OCR result as a searchable PDF
Result.SaveAsSearchablePdf("searchable.pdf");
}
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Add a multi-frame TIFF to the OCR input
Input.AddMultiFrameTiff("example.tiff");
// Perform OCR on the input TIFF
var Result = Ocr.Read(Input);
// Save the OCR result as a searchable PDF
Result.SaveAsSearchablePdf("searchable.pdf");
}
Imports IronOcr
' Initialize the OCR engine for processing
Private Ocr = New IronTesseract()
' Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu
' Using block to ensure resources are disposed correctly
Using Input = New OcrInput()
' Add a multi-frame TIFF to the OCR input
Input.AddMultiFrameTiff("example.tiff")
' Perform OCR on the input TIFF
Dim Result = Ocr.Read(Input)
' Save the OCR result as a searchable PDF
Result.SaveAsSearchablePdf("searchable.pdf")
End Using
OCR ఫలతలను HTML గ ఎగుమత చయండ
OCR చతరం XHTML మరపడక.
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Set the title for the HTML output
Input.Title = "Html Title";
// Add an image to the OCR input
Input.AddImage("image1.jpeg");
// Perform OCR on the input image
var Result = Ocr.Read(Input);
// Save the OCR result as an HTML file
Result.SaveAsHocrFile("results.html");
}
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput())
{
// Set the title for the HTML output
Input.Title = "Html Title";
// Add an image to the OCR input
Input.AddImage("image1.jpeg");
// Perform OCR on the input image
var Result = Ocr.Read(Input);
// Save the OCR result as an HTML file
Result.SaveAsHocrFile("results.html");
}
Imports IronOcr
' Initialize the OCR engine for processing
Private Ocr = New IronTesseract()
' Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu
' Using block to ensure resources are disposed correctly
Using Input = New OcrInput()
' Set the title for the HTML output
Input.Title = "Html Title"
' Add an image to the OCR input
Input.AddImage("image1.jpeg")
' Perform OCR on the input image
Dim Result = Ocr.Read(Input)
' Save the OCR result as an HTML file
Result.SaveAsHocrFile("results.html")
End Using
OCR ఇమజ వృదధ ఫలటరలు
OCR పనతరును మరుగుపరచడనక OcrInput
వసతువుల కసం పరతయకమన ఫలటరలను అందసతుంద.
చతర వృదధ కడ ఉదహరణ
మరుగన, వగవంతమన OCR ఫలతలను ఇవవడనక OCR ఇనపుట చతరలను అధక నణయతత చసతుంద.
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput(@"LowQuality.jpeg"))
{
// Apply denoise to handle digital noise and poor scans
Input.DeNoise();
// Deskew to correct rotation and perspective
Input.Deskew();
// Perform OCR on the input image
var Result = Ocr.Read(Input);
// Output the recognized text to console
Console.WriteLine(Result.Text);
}
using IronOcr;
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput(@"LowQuality.jpeg"))
{
// Apply denoise to handle digital noise and poor scans
Input.DeNoise();
// Deskew to correct rotation and perspective
Input.Deskew();
// Perform OCR on the input image
var Result = Ocr.Read(Input);
// Output the recognized text to console
Console.WriteLine(Result.Text);
}
Imports IronOcr
' Initialize the OCR engine for processing
Private Ocr = New IronTesseract()
' Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu
' Using block to ensure resources are disposed correctly
Using Input = New OcrInput("LowQuality.jpeg")
' Apply denoise to handle digital noise and poor scans
Input.DeNoise()
' Deskew to correct rotation and perspective
Input.Deskew()
' Perform OCR on the input image
Dim Result = Ocr.Read(Input)
' Output the recognized text to console
Console.WriteLine(Result.Text)
End Using
OCR ఇమజ ఫలటరల జబత
ఐరనఓసఆరల నరమంచన OCR పనతరును మరుగుపరచడనక ఇనపుట ఫలటరలు:
- OcrInput.Rotate (డబుల డగరలు) - చతరలను సవయదశల అనక డగరల దవర తరుగుతుంద. వయతరక సవయదశల, పరతకూల సంఖయలను ఉపయగంచండ.
- OcrInput.Binarize () - ఈ ఇమజ ఫలటర పరత పకసల నలుపు లద తలుపు మధయ గరండ లకుండ మరుతుంద. వచననక నపథయనక చల తకకువ వరుదధమన OCR పనతరు కసులను మరుగుపరచవచచు.
- OcrInput.ToGrayScale () - ఈ ఇమజ ఫలటర పరత పకసలను గరసకల నడగ మరుసతుంద. OCR ఖచచతతవనన మరుగుపరచడం అసధయం కన వగనన మరుగుపరుసతుంద
- OcrInput.Contrast () - కంటరసటను సవయంచలకంగ పంచుతుంద. ఈ ఫలటర తరచుగ తకకువ కంటరసట సకనలల OCR వగం మరయు ఖచచతతవనన మరుగుపరుసతుంద.
- OcrInput.DeNoise () - డజటల శబదనన తలగసతుంద. శబదం ఆశంచన చట మతరమ ఈ ఫలటర ఉపయగంచల.
- OcrInput.Invert () - పరత రంగును వలమం చసతుంద. ఉద తలుపు నలుపు: నలుపు తలుపు అవుతుంద.
- OcrInput.Dilate () - అడవనసడ మరఫలజ. చతరంలన వసతువుల సరహదదులకు డలషన పకసలలను జడసతుంద. ఈరడ ఎదురుగ
- OcrInput.Erode () - అడవనసడ మరఫలజ. ఎరజన వసతరంగ వరణంచు వసతువు boundariesOpposite పకసలలను తలగసతుంద
- OcrInput.Deskew () - ఒక చతరనన తరుగుతుంద కబటట ఇద సరన మరగం మరయు ఆరతగనల. OCR క ఇద చల ఉపయగకరంగ ఉంటుంద ఎందుకంట వకరకృత సకనల కసం టసరకట టలరనస 5 డగరల వరకు ఉంటుంద.
- OcrInput.DeepCleanBackgroundNoise () - భర నపథయ శబదం తలగంపు. వపరతమన పతర నపథయ శబదం తలసన సందరభంల మతరమ ఈ ఫలటరను ఉపయగంచండ, ఎందుకంట ఈ ఫలటర శుభరమన పతరల OCR ఖచచతతవనన తగగంచ పరమదం ఉంద మరయు ఇందుల చల CPU ఖరదనద.
- OcrInput.EnhanceResolution - తకకువ నణయత గల చతరల రజలయూషనను మరుగుపరుసతుంద. ఈ ఫలటర తరచుగ అవసరం లదు ఎందుకంట OcrInput.MinimumDPI మరయు OcrInput.TargetDPI సవయంచలకంగ తకకువ రజలయూషన ఇనపుటలను పటటుకున పరషకరసతయ.
కలనబయకగరండ నయస. ఇద కంత సమయం తసుకున సటటంగ; ఏద ఏమయనపపటక, డజటల ఇమజలన డజటల శబదం, కగతపు ముకకలు మరయు ఇతర లపలను సవయంచలకంగ శుభరం చయడనక ఇద లబరరన అనుమతసతుంద, అద ఇతర OCR లబరరల దవర చదవలకపతుంద.
EnhanceContrast అనద ఒక చతరం యకక నపథయనక వయతరకంగ ఐరన OCR సవయంచలకంగ వచన వరుదధతను పంచుతుంద, OCR యకక ఖచచతతవనన పంచుతుంద మరయు సధరణంగ పనతరు మరయు OCR యకక వగనన పంచుతుంద.
EnhanceResolution అనద తకకువ-రజలయూషన చతరలను సవయంచలకంగ గురతంచ (275 dpi కంట తకకువ) మరయు సవయంచలకంగ చతరనన సవయంచలకంగ పంచుతుంద మరయు తరువత అనన వచనలను పదునుపడుతుంద, తదవర ఇద OCR లబరర దవర ఖచచతంగ చదవబడుతుంద. ఈ ఆపరషన సమయం తసుకుంటుననపపటక, ఇద సధరణంగ చతరంప OCR ఆపరషన కసం మతతం సమయనన తగగసతుంద.
భష ఐరన OCR 22 అంతరజతయ భష పయకలకు మదదతు ఇసతుంద మరయు OCR ఆపరషన కసం వరతంచ ఒకట లద అంతకంట ఎకకువ బహుళ భషలను ఎంచుకవడనక భష అమరకను ఉపయగంచవచచు.
వయూహం ఐరన OCR రండు వయూహలకు మదదతు ఇసతుంద. మము పతరం యకక వగవంతమన మరయు తకకువ ఖచచతమన సకన కసం ఎంచుకవచచు లద ఒక వకయంల పదల గణంక సంబంధనన ఒకదనత ఒకట చూడటం దవర OCR టకసట యకక ఖచచతతవనన సవయంచలకంగ మరుగుపరచడనక కనన కృతరమ మధససు నమూనలను ఉపయగంచ ఒక ఆధునక వయూహనన ఉపయగంచవచచు.
కలరసపస అనద గరసకల లద కలరల OCR ను ఎంచుకున ఒక సటటంగ. సధరణంగ, గరసకల ఉతతమ ఎంపక. ఏదమన, కననసరలు ఇలంట రంగు యకక పఠలు లద నపథయలు ఉననపపటక చల భననమన రంగు, పూరత-రంగు రంగు సథలం మంచ ఫలతలను అందసతుంద.
DetectWhiteTextOnDarkBackgrounds. సధరణంగ, అనన OCR లబరరలు తలుపు తరవత చకట టకసట చూడలన ఆశసతయ. ఈ సటటంగ ఐరన OCR ను సవయంచలకంగ పరతకూలతలను లద తలలన వచనంత చకట పజలను గురతంచ వటన చదవడనక అనుమతసతుంద.
ఇనపుట ఇమజ టప. ఈ సటటంగ డవలపరను OCR లబరరక పూరత పతరం లద సకరనషట వంట సనపపటను చూసతుననర అన మరగనరదశం చయడనక అనుమతసతుంద.
RotateAndStraighten అనద ఒక అధునతన అమరక, ఇద ఐరన OCR ను తపపడనక మతరమ కకుండ, వచన పతరల ఛయచతరలు వంట దృకపథనన కలగ ఉనన పతరలను చదవగల పరతయక సమరథయనన అనుమతసతుంద.
రడబరకడలు ఉపయగకరమన లకషణం, ఇద ఐరన OCR సవయంచలకంగ పజల ల బరకడలు మరయు QR కడలను చదవడనక అనుమతసతుంద, ఇద పదద అదనపు సమయ భరనన జడంచకుండ, టకసటను కూడ చదువుతుంద.
కలరడపత. రంగు యకక లతును నరణయంచడనక OCR లబరర పకసలకు ఎనన బటస ఉపయగసతుంద ఈ సటటంగ నరణయసతుంద. అధక రంగు లతు OCR నణయతను పంచుతుంద, కన OCR ఆపరషన పూరత కవడనక అవసరమన సమయనన కూడ పంచుతుంద.
126 భష పయకలు
ఐరన OCR భష పయకల దవర 126 అంతరజతయ భషలకు మదదతు ఇసతుంద, వటన DLL లుగ పంపణ చసతరు, వటన ఈ వబసట నుండ డనలడ చసుకవచచు లద నుగట పయకజ మనజర నుండ కూడ పందవచచు.
భషలల జరమన, ఫరంచ, ఇంగలష, చనస, జపనస మరయు మరనన ఉననయ. పసపరట MRZ, MICR తనఖలు, ఫననషయల డట, లసనస పలటలు మరయు మరనన కసం సపషలసట లంగవజ పయకలు ఉననయ. మరు మర సృషటంచన వటత సహ ఏదన టసరకట ".టరనడట" ఫలను కూడ ఉపయగంచవచచు.
భష ఉదహరణ
ఇతర OCR భషలను ఉపయగంచడం.
// PM> Install IronOcr.Languages.Arabic
using IronOcr;
// Create an instance of IronTesseract for OCR operations
var Ocr = new IronTesseract();
// Set the language to Arabic for OCR
Ocr.Language = OcrLanguage.Arabic;
// Using block to ensure resources are disposed correctly
using (var input = new OcrInput())
{
// Add an image containing Arabic text to the OCR input
input.AddImage("img/arabic.gif");
// Add image filters if needed for low-quality inputs
// Iron Tesseract can read content that traditional tesseract cannot
// Perform OCR on the input image
var Result = Ocr.Read(input);
// Windows console does not easily print Arabic text
// Save the result to a file instead
Result.SaveAsTextFile("arabic.txt");
}
// PM> Install IronOcr.Languages.Arabic
using IronOcr;
// Create an instance of IronTesseract for OCR operations
var Ocr = new IronTesseract();
// Set the language to Arabic for OCR
Ocr.Language = OcrLanguage.Arabic;
// Using block to ensure resources are disposed correctly
using (var input = new OcrInput())
{
// Add an image containing Arabic text to the OCR input
input.AddImage("img/arabic.gif");
// Add image filters if needed for low-quality inputs
// Iron Tesseract can read content that traditional tesseract cannot
// Perform OCR on the input image
var Result = Ocr.Read(input);
// Windows console does not easily print Arabic text
// Save the result to a file instead
Result.SaveAsTextFile("arabic.txt");
}
' PM> Install IronOcr.Languages.Arabic
Imports IronOcr
' Create an instance of IronTesseract for OCR operations
Private Ocr = New IronTesseract()
' Set the language to Arabic for OCR
Ocr.Language = OcrLanguage.Arabic
' Using block to ensure resources are disposed correctly
Using input = New OcrInput()
' Add an image containing Arabic text to the OCR input
input.AddImage("img/arabic.gif")
' Add image filters if needed for low-quality inputs
' Iron Tesseract can read content that traditional tesseract cannot
' Perform OCR on the input image
Dim Result = Ocr.Read(input)
' Windows console does not easily print Arabic text
' Save the result to a file instead
Result.SaveAsTextFile("arabic.txt")
End Using
బహుళ భష ఉదహరణ
ఒక సమయంల బహుళ భషలను ఉపయగంచ OCR కు కూడ అవకశం ఉంద. యునకడ పతరలల ఆంగల భష మటడట మరయు url లను పందడనక ఇద నజంగ సహయపడుతుంద.
// PM> Install IronOcr.Languages.ChineseSimplified
using IronOcr;
// Create an instance of IronTesseract for OCR operations
var Ocr = new IronTesseract();
// Set the primary language to Chinese Simplified
Ocr.Language = OcrLanguage.ChineseSimplified;
// Add a secondary language as Telugu
Ocr.AddSecondaryLanguage(OcrLanguage.Telugu);
// We can add any number of languages
// Using block to ensure resources are disposed correctly
using (var input = new OcrInput())
{
// Add a multi-language PDF to the OCR input
input.Add("multi-language.pdf");
// Perform OCR on the input PDF
var Result = Ocr.Read(input);
// Save the result text to a file
Result.SaveAsTextFile("results.txt");
}
// PM> Install IronOcr.Languages.ChineseSimplified
using IronOcr;
// Create an instance of IronTesseract for OCR operations
var Ocr = new IronTesseract();
// Set the primary language to Chinese Simplified
Ocr.Language = OcrLanguage.ChineseSimplified;
// Add a secondary language as Telugu
Ocr.AddSecondaryLanguage(OcrLanguage.Telugu);
// We can add any number of languages
// Using block to ensure resources are disposed correctly
using (var input = new OcrInput())
{
// Add a multi-language PDF to the OCR input
input.Add("multi-language.pdf");
// Perform OCR on the input PDF
var Result = Ocr.Read(input);
// Save the result text to a file
Result.SaveAsTextFile("results.txt");
}
' PM> Install IronOcr.Languages.ChineseSimplified
Imports IronOcr
' Create an instance of IronTesseract for OCR operations
Private Ocr = New IronTesseract()
' Set the primary language to Chinese Simplified
Ocr.Language = OcrLanguage.ChineseSimplified
' Add a secondary language as Telugu
Ocr.AddSecondaryLanguage(OcrLanguage.Telugu)
' We can add any number of languages
' Using block to ensure resources are disposed correctly
Using input = New OcrInput()
' Add a multi-language PDF to the OCR input
input.Add("multi-language.pdf")
' Perform OCR on the input PDF
Dim Result = Ocr.Read(input)
' Save the result text to a file
Result.SaveAsTextFile("results.txt")
End Using
వవరణతమక OCR ఫలతల వసతువులు
ఐరన OCR పరత OCR ఆపరషన కసం OCR ఫలత వసతువును అందసతుంద. సధరణంగ, డవలపరలు చతరం నుండ వచననన సకన చయడనక ఈ వసతువు యకక వచన ఆసతన మతరమ ఉపయగసతరు. ఏదమన, OCR ఫలతలు DOM దన కంట చల అధునతనమనద.
using IronOcr;
using System.Drawing; // Add an assembly reference for System.Drawing
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Configure OCR engine mode and barcode reading
Ocr.Configuration.EngineMode = TesseractEngineMode.TesseractAndLstm;
Ocr.Configuration.ReadBarCodes = true; //! Important
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput(@"images\sample.tiff"))
{
// Perform OCR on the input image
OcrResult Result = Ocr.Read(Input);
// Access detailed OCR result data
var Pages = Result.Pages;
var Words = Pages[0].Words;
var Barcodes = Result.Barcodes;
// Explore the robust and detailed API to find:
// - Pages, Blocks, Paragraphs, Lines, Words, Characters
// - Image Exports, Fonts Coordinates, Statistical Data
}
using IronOcr;
using System.Drawing; // Add an assembly reference for System.Drawing
// Initialize the OCR engine for processing
var Ocr = new IronTesseract();
// Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu;
// Configure OCR engine mode and barcode reading
Ocr.Configuration.EngineMode = TesseractEngineMode.TesseractAndLstm;
Ocr.Configuration.ReadBarCodes = true; //! Important
// Using block to ensure resources are disposed correctly
using (var Input = new OcrInput(@"images\sample.tiff"))
{
// Perform OCR on the input image
OcrResult Result = Ocr.Read(Input);
// Access detailed OCR result data
var Pages = Result.Pages;
var Words = Pages[0].Words;
var Barcodes = Result.Barcodes;
// Explore the robust and detailed API to find:
// - Pages, Blocks, Paragraphs, Lines, Words, Characters
// - Image Exports, Fonts Coordinates, Statistical Data
}
Imports IronOcr
Imports System.Drawing ' Add an assembly reference for System.Drawing
' Initialize the OCR engine for processing
Private Ocr = New IronTesseract()
' Set the language to Telugu for OCR
Ocr.Language = OcrLanguage.Telugu
' Configure OCR engine mode and barcode reading
Ocr.Configuration.EngineMode = TesseractEngineMode.TesseractAndLstm
Ocr.Configuration.ReadBarCodes = True '! Important
' Using block to ensure resources are disposed correctly
Using Input = New OcrInput("images\sample.tiff")
' Perform OCR on the input image
Dim Result As OcrResult = Ocr.Read(Input)
' Access detailed OCR result data
Dim Pages = Result.Pages
Dim Words = Pages(0).Words
Dim Barcodes = Result.Barcodes
' Explore the robust and detailed API to find:
' - Pages, Blocks, Paragraphs, Lines, Words, Characters
' - Image Exports, Fonts Coordinates, Statistical Data
End Using
పరదరశన
పనతరు టయూన చయలసన అవసరం లకుండ లద ఇనపుట చతరలను భరగ సవరంచలసన అవసరం లకుండ ఐరనఓసఆర బకస వలుపల పనచసతుంద.
వగం మండుతంద: IronOcr.2020 + 10 రటలు వగంగ ఉంటుంద మరయు మునుపట నరమణల కంట 250% తకకువ లపలను చసతుంద.
ఇంక నరచుక
C#, VB, F#, లద మరదన .NET భషల OCR గురంచ మరంత తలుసుకవడనక, దయచస మ కమయూనట టయుటరయలస చదవండ, ఇవ ఐరన OCR ను ఎల ఉపయగంచవచచ వసతవ పరపంచ ఉదహరణలను ఇసతయ మరయు ఉతతమమనవ ఎల పందల సూకషమ నపుణయలను చూపుతయ ఈ లబరర.
.NET డవలపరల కసం పూరత ఆబజకట రఫరనస కూడ అందుబటుల ఉంద.