Search for text within images with the Aspose.OCR Image Text Finder, a powerful .NET OCR plug-in. Identify differences in image texts, regardless of styles, resolution, font, format, or other factors. Perform regular expression searches, case-insensitive searches, and comparisons with a single line of code. Ideal for detecting PII in digital archives, analyzing contracts, classifying large amounts of non-textual data, and streamlining business processes.
Get the respective assembly files from the downloads or fetch the package from NuGet to add Aspose.Ocr
directly to your workspace.
Aspose.OCR.Metered metered = new Aspose.OCR.Metered(); | |
metered.SetMeteredKey("PublicKey", "PrivateKey"); | |
// Create AsposeOCR object | |
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr(); | |
// Add images to OcrInput object | |
string img1 = "source1.png"; | |
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings(); | |
// Find text on image | |
bool isFound = recognitionEngine.ImageHasText(img1, "Aspose", recognitionSettings); | |
Console.WriteLine(isFound); |
By default, our library can automatically recognize a wide range of languages based on the Extended Latin alphabet. However, providing a specific language can significantly enhance recognition accuracy. Explicitly specify the language when recognizing Cyrillic, Chinese, and Hindi texts.
You can use any popular format from a scanner or camera, including PDF, JPEG, PNG, and TIFF, including multi-page documents. Recognition results are returned in plain text, HTML, Microsoft Word, PDF, JSON, and XML.
Good image quality is crucial for accurate OCR. Use a scanner or high-resolution camera. The library has advanced filters to automatically improve image quality before recognition.
Read our online documentation or visit Aspose.OCR for .NET repository for code samples and showcase projects.