Aspose.OCR for .NET 22.3 - Release Notes
Contents
[
Hide
]
This page contains release notes information for Aspose.OCR for .NET 22.3
GPU version: 21.6.0
All Features
Key | Summary | Category |
---|---|---|
OCRNET-457 | Add multipage DJVU input support | Enhancement |
OCRNET-480 | Improve the logic of the COMBINE mode for areas recognition | Enhancement |
OCRNET-481 | Error converting an PDF to a searchable PDF | Bugfix |
Enhancements
- added support for multipage DJVU files
- fixed PDF creation
- improved text area detection algorithm
Public API and Backwards Incompatible Changes
New API
- added new method List
RecognizeDjvu(string fullPath, DocumentRecognitionSettings settings) in public API
Removed APIs
All methods of the previous release are supported.
Will be deprecated
Usage Example
using Aspose.OCR;
namespace ProgramOCR
{
class Program
{
static void Main(string[] args)
{
// Get API
AsposeOcr api = new AsposeOcr();
// Create license
License lic = new License();
// Set license
lic.SetLicense("Aspose.Total.lic");
// Get image for recognize
string image = "D://img.png";
// Recognize image
List<RecognitionResult> result = api.RecognizeDjvu("sample.djvu", new DocumentRecognitionSettings { });
// Print result
foreach (var result in results)
{
Console.WriteLine(result.RecognitionText);
}
}
}
}