Browse our Products
Latest release
This article contains a summary of recent changes, enhancements and bug fixes in Aspose.OCR for .NET 26.4 (April 2026) release.
GPU version: 26.4.0
What was changed
| Key | Summary | Category |
|---|
#OCRNET‑1201 | Initial table-detection model integration: model selection, ONNX conversion, .NET validation, and preprocessing setup. Added DetectTables API for table region detection. | New feature
Public API changes and backwards compatibility
This section lists all public API changes introduced in Aspose.OCR for .NET 26.4 that may affect the code of existing applications.
Added public APIs:
The following public APIs have been introduced in this release:
Aspose.OCR.AsposeOcr.DetectTables - a new method
Detects table regions in input images and returns their bounding rectangles as a list of RectangleOutput.
New Methods
| Method | Description |
|---|---|
public List<RectangleOutput> DetectTables(OcrInput images) | Detects tables and returns List<RectangleOutput>. |
Updated public APIs:
No changes.
Removed public APIs:
No changes.
Examples
The code samples below illustrate the changes introduced in this release:
Detect table regions
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
// Add an image to OcrInput object
Aspose.OCR.OcrInput input = new Aspose.OCR.OcrInput(Aspose.OCR.InputType.SingleImage);
input.Add("source.png");
// Detect table regions
System.Collections.Generic.List<Aspose.OCR.RectangleOutput> tables = recognitionEngine.DetectTables(input);
// Print result
Console.WriteLine($"Detected table regions: {tables.Count}");