// Install the IronOCR Oriya language package// PM> Install-Package IronOcr.Languages.Oriyausing IronOcr;varOcr = new IronTesseract();// Set the language to OriyaOcr.Language = OcrLanguage.Oriya;// Use the OcrInput with the path to the imageusing (varInput = new OcrInput(@"images\Oriya.png")){ // Perform OCR to get the result varResult = Ocr.Read(Input); // Get the text from the OCR result varAllText = Result.Text;}
// Install the IronOCR Oriya language package
// PM> Install-Package IronOcr.Languages.Oriya
using IronOcr;
var Ocr = new IronTesseract();
// Set the language to Oriya
Ocr.Language = OcrLanguage.Oriya;
// Use the OcrInput with the path to the image
using (var Input = new OcrInput(@"images\Oriya.png"))
{
// Perform OCR to get the result
var Result = Ocr.Read(Input);
// Get the text from the OCR result
var AllText = Result.Text;
}
' Install the IronOCR Oriya language package' PM> Install-Package IronOcr.Languages.OriyaImportsIronOcrDimOcr = New IronTesseract()' Set the language to OriyaOcr.Language = OcrLanguage.Oriya' Use the OcrInput with the path to the imageUsingInput = New OcrInput("images\Oriya.png") ' Perform OCR to get the result DimResult = Ocr.Read(Input) ' Get the text from the OCR result DimAllText = Result.TextEndUsing
' Install the IronOCR Oriya language package
' PM> Install-Package IronOcr.Languages.Oriya
Imports IronOcr
Dim Ocr = New IronTesseract()
' Set the language to Oriya
Ocr.Language = OcrLanguage.Oriya
' Use the OcrInput with the path to the image
Using Input = New OcrInput("images\Oriya.png")
' Perform OCR to get the result
Dim Result = Ocr.Read(Input)
' Get the text from the OCR result
Dim AllText = Result.Text
End Using
// Quick one-line OCR text extraction from an imagestringText = new IronTesseract().Read(@"img\Screenshot.png").Text;
// Quick one-line OCR text extraction from an image
string Text = new IronTesseract().Read(@"img\Screenshot.png").Text;
' Quick one-line OCR text extraction from an imageDimTextAsString = (New IronTesseract()).Read("img\Screenshot.png").Text
' Quick one-line OCR text extraction from an image
Dim Text As String = (New IronTesseract()).Read("img\Screenshot.png").Text
ବନୟାସଯୋଗୟ ହେଲୋ ୱାରଲଡ |
// PM> Install-Package IronOcr.Languages.Oriyausing IronOcr;varOcr = new IronTesseract();Ocr.Language = OcrLanguage.Oriya;using (varInput = new OcrInput()){ // Add an image to the OCR inputInput.AddImage("images/sample.jpeg"); // You can add any number of images here varResult = Ocr.Read(Input);Console.WriteLine(Result.Text);}
// PM> Install-Package IronOcr.Languages.Oriya
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Oriya;
using (var Input = new OcrInput())
{
// Add an image to the OCR input
Input.AddImage("images/sample.jpeg");
// You can add any number of images here
var Result = Ocr.Read(Input);
Console.WriteLine(Result.Text);
}
ImportsIronOcrDimOcr = New IronTesseract()Ocr.Language = OcrLanguage.OriyaUsingInput = New OcrInput() ' Add an image to the OCR inputInput.AddImage("images/sample.jpeg") ' You can add any number of images here DimResult = Ocr.Read(Input)Console.WriteLine(Result.Text)EndUsing
Imports IronOcr
Dim Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Oriya
Using Input = New OcrInput()
' Add an image to the OCR input
Input.AddImage("images/sample.jpeg")
' You can add any number of images here
Dim Result = Ocr.Read(Input)
Console.WriteLine(Result.Text)
End Using
C# PDF OCR |
ସମାନ ପଦଧତ ଯେକ PDF ଣସ PDF ଡକୟମେଣଟର ପାଠ ବାହାର କରବା ପାଇ ସମାନ ଭାବରେ ବୟବହତ ହୋଇପାରେ |
using IronOcr;varOcr = new IronTesseract();Ocr.Language = OcrLanguage.Oriya;using (var input = new OcrInput()){ input.AddPdf("example.pdf", "password"); // Specific PDF pages can also be selected for OCR varResult = Ocr.Read(input);Console.WriteLine(Result.Text);Console.WriteLine($"{Result.Pages.Count} Pages"); // Outputs page count for each page in the PDF}
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Oriya;
using (var input = new OcrInput())
{
input.AddPdf("example.pdf", "password");
// Specific PDF pages can also be selected for OCR
var Result = Ocr.Read(input);
Console.WriteLine(Result.Text);
Console.WriteLine($"{Result.Pages.Count} Pages");
// Outputs page count for each page in the PDF
}
ImportsIronOcrPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.OriyaUsing input = New OcrInput() input.AddPdf("example.pdf", "password") ' Specific PDF pages can also be selected for OCR DimResult = Ocr.Read(input)Console.WriteLine(Result.Text)Console.WriteLine($"{Result.Pages.Count} Pages") ' Outputs page count for each page in the PDFEndUsing
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Oriya
Using input = New OcrInput()
input.AddPdf("example.pdf", "password")
' Specific PDF pages can also be selected for OCR
Dim Result = Ocr.Read(input)
Console.WriteLine(Result.Text)
Console.WriteLine($"{Result.Pages.Count} Pages")
' Outputs page count for each page in the PDF
End Using
using IronOcr;varOcr = new IronTesseract();Ocr.Language = OcrLanguage.Oriya;using (varInput = new OcrInput()){Input.AddMultiFrameTiff("multi-frame.tiff"); varResult = Ocr.Read(Input);Console.WriteLine(Result.Text);}
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Oriya;
using (var Input = new OcrInput())
{
Input.AddMultiFrameTiff("multi-frame.tiff");
var Result = Ocr.Read(Input);
Console.WriteLine(Result.Text);
}
ImportsIronOcrPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.OriyaUsingInput = New OcrInput()Input.AddMultiFrameTiff("multi-frame.tiff") DimResult = Ocr.Read(Input)Console.WriteLine(Result.Text)EndUsing
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Oriya
Using Input = New OcrInput()
Input.AddMultiFrameTiff("multi-frame.tiff")
Dim Result = Ocr.Read(Input)
Console.WriteLine(Result.Text)
End Using
using IronOcr;varOcr = new IronTesseract();Ocr.Configuration.ReadBarCodes = true;using (var input = new OcrInput()){ input.AddImage("img/Barcode.png"); varResult = Ocr.Read(input); foreach (varBarcodeinResult.Barcodes) {Console.WriteLine(Barcode.Value); // Type and Position properties are also available for each barcode }}
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Configuration.ReadBarCodes = true;
using (var input = new OcrInput())
{
input.AddImage("img/Barcode.png");
var Result = Ocr.Read(input);
foreach (var Barcode in Result.Barcodes)
{
Console.WriteLine(Barcode.Value);
// Type and Position properties are also available for each barcode
}
}
ImportsIronOcrDimOcr = New IronTesseract()Ocr.Configuration.ReadBarCodes = TrueUsing input = New OcrInput() input.AddImage("img/Barcode.png") DimResult = Ocr.Read(input) For EachBarcodeInResult.BarcodesConsole.WriteLine(Barcode.Value) ' Type and Position properties are also available for each barcode NextEndUsing
Imports IronOcr
Dim Ocr = New IronTesseract()
Ocr.Configuration.ReadBarCodes = True
Using input = New OcrInput()
input.AddImage("img/Barcode.png")
Dim Result = Ocr.Read(input)
For Each Barcode In Result.Barcodes
Console.WriteLine(Barcode.Value)
' Type and Position properties are also available for each barcode
Next
End Using
using IronOcr;varOcr = new IronTesseract();Ocr.Language = OcrLanguage.Oriya;using (varInput = new OcrInput()){ varContentArea = new System.Drawing.Rectangle() {X = 215, Y = 1250, Height = 280, Width = 1335 // Measurements are in pixels };Input.Add("document.png", ContentArea); varResult = Ocr.Read(Input);Console.WriteLine(Result.Text);}
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Oriya;
using (var Input = new OcrInput())
{
var ContentArea = new System.Drawing.Rectangle()
{
X = 215, Y = 1250, Height = 280, Width = 1335
// Measurements are in pixels
};
Input.Add("document.png", ContentArea);
var Result = Ocr.Read(Input);
Console.WriteLine(Result.Text);
}
ImportsIronOcrPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.OriyaUsingInput = New OcrInput() DimContentArea = New System.Drawing.Rectangle() With { .X = 215, .Y = 1250, .Height = 280, .Width = 1335 }Input.Add("document.png", ContentArea) DimResult = Ocr.Read(Input)Console.WriteLine(Result.Text)EndUsing
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Oriya
Using Input = New OcrInput()
Dim ContentArea = New System.Drawing.Rectangle() With {
.X = 215,
.Y = 1250,
.Height = 280,
.Width = 1335
}
Input.Add("document.png", ContentArea)
Dim Result = Ocr.Read(Input)
Console.WriteLine(Result.Text)
End Using
using IronOcr;varOcr = new IronTesseract();Ocr.Language = OcrLanguage.Oriya;using (varInput = new OcrInput(@"img\Potter.LowQuality.tiff")){Input.DeNoise(); // Corrects digital noise and poor scanningInput.Deskew(); // Corrects rotation and perspective varResult = Ocr.Read(Input);Console.WriteLine(Result.Text);}
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Oriya;
using (var Input = new OcrInput(@"img\Potter.LowQuality.tiff"))
{
Input.DeNoise(); // Corrects digital noise and poor scanning
Input.Deskew(); // Corrects rotation and perspective
var Result = Ocr.Read(Input);
Console.WriteLine(Result.Text);
}
ImportsIronOcrPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.OriyaUsingInput = New OcrInput("img\Potter.LowQuality.tiff")Input.DeNoise() ' Corrects digital noise and poor scanningInput.Deskew() ' Corrects rotation and perspective DimResult = Ocr.Read(Input)Console.WriteLine(Result.Text)EndUsing
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Oriya
Using Input = New OcrInput("img\Potter.LowQuality.tiff")
Input.DeNoise() ' Corrects digital noise and poor scanning
Input.Deskew() ' Corrects rotation and perspective
Dim Result = Ocr.Read(Input)
Console.WriteLine(Result.Text)
End Using
using IronOcr;varOcr = new IronTesseract();Ocr.Language = OcrLanguage.Oriya;using (varInput = new OcrInput()){Input.Title = "Quarterly Report";Input.AddImage("image1.jpeg");Input.AddImage("image2.png");Input.AddImage("image3.gif"); varResult = Ocr.Read(Input);Result.SaveAsSearchablePdf("searchable.pdf");}
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Oriya;
using (var Input = new OcrInput())
{
Input.Title = "Quarterly Report";
Input.AddImage("image1.jpeg");
Input.AddImage("image2.png");
Input.AddImage("image3.gif");
var Result = Ocr.Read(Input);
Result.SaveAsSearchablePdf("searchable.pdf");
}
ImportsIronOcrPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.OriyaUsingInput = New OcrInput()Input.Title = "Quarterly Report"Input.AddImage("image1.jpeg")Input.AddImage("image2.png")Input.AddImage("image3.gif") DimResult = Ocr.Read(Input)Result.SaveAsSearchablePdf("searchable.pdf")EndUsing
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Oriya
Using Input = New OcrInput()
Input.Title = "Quarterly Report"
Input.AddImage("image1.jpeg")
Input.AddImage("image2.png")
Input.AddImage("image3.gif")
Dim Result = Ocr.Read(Input)
Result.SaveAsSearchablePdf("searchable.pdf")
End Using
using IronOcr;varOcr = new IronTesseract();Ocr.Language = OcrLanguage.Oriya;using (varInput = new OcrInput()){Input.AddMultiFrameTiff("example.tiff"); varResult = Ocr.Read(Input).SaveAsSearchablePdf("searchable.pdf");}
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Oriya;
using (var Input = new OcrInput())
{
Input.AddMultiFrameTiff("example.tiff");
var Result = Ocr.Read(Input).SaveAsSearchablePdf("searchable.pdf");
}
ImportsIronOcrPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.OriyaUsingInput = New OcrInput()Input.AddMultiFrameTiff("example.tiff") DimResult = Ocr.Read(Input).SaveAsSearchablePdf("searchable.pdf")EndUsing
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Oriya
Using Input = New OcrInput()
Input.AddMultiFrameTiff("example.tiff")
Dim Result = Ocr.Read(Input).SaveAsSearchablePdf("searchable.pdf")
End Using
OCR ଫଳାଫଳକ HTML ଭାବରେ ରପତାନ କରନତ |
XHTML ରପାନତର ପାଇ OCR ପରତଛବ |
using IronOcr;varOcr = new IronTesseract();Ocr.Language = OcrLanguage.Oriya;using (varInput = new OcrInput()){Input.Title = "Html Title";Input.AddImage("image1.jpeg"); varResult = Ocr.Read(Input);Result.SaveAsHocrFile("results.html");}
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Oriya;
using (var Input = new OcrInput())
{
Input.Title = "Html Title";
Input.AddImage("image1.jpeg");
var Result = Ocr.Read(Input);
Result.SaveAsHocrFile("results.html");
}
ImportsIronOcrPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.OriyaUsingInput = New OcrInput()Input.Title = "Html Title"Input.AddImage("image1.jpeg") DimResult = Ocr.Read(Input)Result.SaveAsHocrFile("results.html")EndUsing
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Oriya
Using Input = New OcrInput()
Input.Title = "Html Title"
Input.AddImage("image1.jpeg")
Dim Result = Ocr.Read(Input)
Result.SaveAsHocrFile("results.html")
End Using
using IronOcr;varOcr = new IronTesseract();Ocr.Language = OcrLanguage.Oriya;using (varInput = new OcrInput(@"LowQuality.jpeg")){Input.DeNoise(); // Corrects digital noise and poor scanningInput.Deskew(); // Corrects rotation and perspective varResult = Ocr.Read(Input);Console.WriteLine(Result.Text);}
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Oriya;
using (var Input = new OcrInput(@"LowQuality.jpeg"))
{
Input.DeNoise(); // Corrects digital noise and poor scanning
Input.Deskew(); // Corrects rotation and perspective
var Result = Ocr.Read(Input);
Console.WriteLine(Result.Text);
}
ImportsIronOcrPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.OriyaUsingInput = New OcrInput("LowQuality.jpeg")Input.DeNoise() ' Corrects digital noise and poor scanningInput.Deskew() ' Corrects rotation and perspective DimResult = Ocr.Read(Input)Console.WriteLine(Result.Text)EndUsing
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Oriya
Using Input = New OcrInput("LowQuality.jpeg")
Input.DeNoise() ' Corrects digital noise and poor scanning
Input.Deskew() ' Corrects rotation and perspective
Dim Result = Ocr.Read(Input)
Console.WriteLine(Result.Text)
End Using
OcrInput.Rotate(double degrees) - Rotates the image a number of degrees clockwise. For counterclockwise, use a negative number.
OcrInput.Binarize() - This image filter turns each pixel black or white. Useful where there is low-contrast text on a background and OCR performance improves.
OcrInput.ToGrayScale() - Converts each pixel to grayscale. Might not increase OCR accuracy but can improve speed.
OcrInput.Contrast() - Automatically increases contrast. Improves OCR speed and accuracy especially on low contrast scans.
OcrInput.DeNoise() - Removes digital noise. Should be used wherever noise is expected.
OcrInput.Invert(/csharp/ocr/languages/strong> - Inverts each color (e.g., white becomes black; black becomes white/).
OcrInput.Dilate() - Enhanced morphology, adds pixels around the boundary of objects in the image. Opposite of Erode.
OcrInput.Erode() - Enhanced morphology, removes pixels on object boundaries. Opposite of Dilate.
OcrInput.Deskew() - Rotates image so that it is upright and orthogonally aligned. Essential for accuracy, the 5-degree tolerance of Tesseract is improved.
OcrInput.DeepCleanBackgroundNoise() - Removes heavy background noise. Use only where known, as it can lower OCR accuracy on clean documents and is CPU intensive.
OcrInput.EnhanceResolution - Increases resolution of low-quality images. Automatically handles low res inputs using MinimumDPI and TargetDPI properties.
Clean Background Noise is a setting that is time-sensitive but allows the library to automatically clean digital noise, paper shreds, and other artifacts, which other libraries cannot.
Enhance Contrast automatically increases image text contrast and improves OCR accuracy, thereby generally increasing performance and speed.
Enhance Resolution detects low-resolution images (<275 dpi) and auto-upscales them for sharp text. This operation is timely but often faster overall for OCR ops.
Language settings support multiple languages, useful for translating foreign documents.
126 ଭାଷା ପୟାକ |
IronOCR supports 126 ଆନତରଜାତୀୟ ମାଗଣା languages distributed as DLLs; downloadable from this website or NuGet.
Included languages span German, French, English, Chinese, Japanese, and many more. Specialist packages exist for MRZ, MICR, license plates, and others. Any Tesseract ".traineddata" files you have can be used, including your custom-made ones.
Language Example |
Using another OCR language:
using IronOcr;// PM> Install IronOcr.Languages.ArabicvarOcr = new IronTesseract();Ocr.Language = OcrLanguage.Arabic;using (var input = new OcrInput()){ input.AddImage("img/arabic.gif"); // Add image noise filters if needed // In this case, the input might be of very poor quality // IronTesseract can read what conventional ones cannot varResult = Ocr.Read(input); // Saving Arabic text - cannot print Arabic easily in console on WindowsResult.SaveAsTextFile("arabic.txt");}
using IronOcr;
// PM> Install IronOcr.Languages.Arabic
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Arabic;
using (var input = new OcrInput())
{
input.AddImage("img/arabic.gif");
// Add image noise filters if needed
// In this case, the input might be of very poor quality
// IronTesseract can read what conventional ones cannot
var Result = Ocr.Read(input);
// Saving Arabic text - cannot print Arabic easily in console on Windows
Result.SaveAsTextFile("arabic.txt");
}
ImportsIronOcr' PM> Install IronOcr.Languages.ArabicPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.ArabicUsing input = New OcrInput() input.AddImage("img/arabic.gif") ' Add image noise filters if needed ' In this case, the input might be of very poor quality ' IronTesseract can read what conventional ones cannot DimResult = Ocr.Read(input) ' Saving Arabic text - cannot print Arabic easily in console on WindowsResult.SaveAsTextFile("arabic.txt")EndUsing
Imports IronOcr
' PM> Install IronOcr.Languages.Arabic
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Arabic
Using input = New OcrInput()
input.AddImage("img/arabic.gif")
' Add image noise filters if needed
' In this case, the input might be of very poor quality
' IronTesseract can read what conventional ones cannot
Dim Result = Ocr.Read(input)
' Saving Arabic text - cannot print Arabic easily in console on Windows
Result.SaveAsTextFile("arabic.txt")
End Using
Multiple Language Example |
Using multiple languages in one go is possible, aiding in receiving metadata in multiple languages from runtime OCR:
using IronOcr;// PM> Install IronOcr.Languages.ChineseSimplifiedvarOcr = new IronTesseract();Ocr.Language = OcrLanguage.ChineseSimplified;Ocr.AddSecondaryLanguage(OcrLanguage.Oriya);// Any number of additional languages can be addedusing (var input = new OcrInput()){ input.Add("multi-language.pdf"); varResult = Ocr.Read(input);Result.SaveAsTextFile("results.txt");}
using IronOcr;
// PM> Install IronOcr.Languages.ChineseSimplified
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.ChineseSimplified;
Ocr.AddSecondaryLanguage(OcrLanguage.Oriya);
// Any number of additional languages can be added
using (var input = new OcrInput())
{
input.Add("multi-language.pdf");
var Result = Ocr.Read(input);
Result.SaveAsTextFile("results.txt");
}
ImportsIronOcr' PM> Install IronOcr.Languages.ChineseSimplifiedPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.ChineseSimplifiedOcr.AddSecondaryLanguage(OcrLanguage.Oriya)' Any number of additional languages can be addedUsing input = New OcrInput() input.Add("multi-language.pdf") DimResult = Ocr.Read(input)Result.SaveAsTextFile("results.txt")EndUsing
Imports IronOcr
' PM> Install IronOcr.Languages.ChineseSimplified
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.ChineseSimplified
Ocr.AddSecondaryLanguage(OcrLanguage.Oriya)
' Any number of additional languages can be added
Using input = New OcrInput()
input.Add("multi-language.pdf")
Dim Result = Ocr.Read(input)
Result.SaveAsTextFile("results.txt")
End Using
ାସାଧାରଣ OCR ଫଳାଫଳ ଅବଜେକଟସ |
IronOCR provides robust OCR result object for each operation. Developers can access text but the result DOM is far more extensive.
using IronOcr;varOcr = new IronTesseract();Ocr.Language = OcrLanguage.Oriya;Ocr.Configuration.EngineMode = TesseractEngineMode.TesseractAndLstm;Ocr.Configuration.ReadBarCodes = true; // Important!using (varInput = new OcrInput(@"images\sample.tiff")){ OcrResultResult = Ocr.Read(Input); varPages = Result.Pages; varWords = Pages[0].Words; varBarcodes = Result.Barcodes; // Explore a large, detailed API here: // - Pages, Blocks, Paragraphs, Lines, Words, Characters | // - Image exports, Font Interactions, Statistical data |}
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Oriya;
Ocr.Configuration.EngineMode = TesseractEngineMode.TesseractAndLstm;
Ocr.Configuration.ReadBarCodes = true; // Important!
using (var Input = new OcrInput(@"images\sample.tiff"))
{
OcrResult Result = Ocr.Read(Input);
var Pages = Result.Pages;
var Words = Pages[0].Words;
var Barcodes = Result.Barcodes;
// Explore a large, detailed API here:
// - Pages, Blocks, Paragraphs, Lines, Words, Characters |
// - Image exports, Font Interactions, Statistical data |
}
ImportsIronOcrPrivateOcr = New IronTesseract()Ocr.Language = OcrLanguage.OriyaOcr.Configuration.EngineMode = TesseractEngineMode.TesseractAndLstmOcr.Configuration.ReadBarCodes = True ' Important!UsingInput = New OcrInput("images\sample.tiff") DimResultAsOcrResult = Ocr.Read(Input) DimPages = Result.Pages DimWords = Pages(0).Words DimBarcodes = Result.Barcodes ' Explore a large, detailed API here: ' - Pages, Blocks, Paragraphs, Lines, Words, Characters | ' - Image exports, Font Interactions, Statistical data |EndUsing
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Oriya
Ocr.Configuration.EngineMode = TesseractEngineMode.TesseractAndLstm
Ocr.Configuration.ReadBarCodes = True ' Important!
Using Input = New OcrInput("images\sample.tiff")
Dim Result As OcrResult = Ocr.Read(Input)
Dim Pages = Result.Pages
Dim Words = Pages(0).Words
Dim Barcodes = Result.Barcodes
' Explore a large, detailed API here:
' - Pages, Blocks, Paragraphs, Lines, Words, Characters |
' - Image exports, Font Interactions, Statistical data |
End Using
ପରଦରଶନ
IronOCR performs efficiently out-of-the-box without extra transformation steps.
Blazing fast: IronOCR.2020 is 10 times faster and 250% less error-prone than previous builds.
ଅଧକ ସଖନତ
For more on OCR in C#, VB, F#, or any .NET language, please read our community tutorials, or see how best to make use of its nuances in real-world example applications using this library.
Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.