OCRReaderLib 1.0.0
dotnet add package OCRReaderLib --version 1.0.0
NuGet\Install-Package OCRReaderLib -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OCRReaderLib" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OCRReaderLib" Version="1.0.0" />
<PackageReference Include="OCRReaderLib" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OCRReaderLib --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OCRReaderLib, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OCRReaderLib@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OCRReaderLib&version=1.0.0
#tool nuget:?package=OCRReaderLib&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OCRReaderLib
Core OCR extraction library for the OCRReader solution (.NET 8).
What it does
- Extracts plain text from images.
- Extracts table data (rows, columns, headers, row headers).
- Supports automatic mode detection between plain text and table output.
Main components
OCRApi/Core/OcrProcessingEngine.*- OCR parsing and normalization
- Table detection/building
- Plain-text extraction
OCRApi/DTOs/OcrExtractionResponse.cs- Table/response DTOs
- Converts OCR table cells to
DataTable/DataView
Output behavior
- Column headers come from OCR-detected headers when available.
- If headers are not detected, generic fallback names are used (
Column 1,Column 2, ...). - Row headers are included in table output when detected.
Notes
- No hardcoded business-specific column headers should be used.
- Keep extraction logic generic and image-driven.
Code snippet
using OCRReaderLib.OCRApi;
using OCRReaderLib.OCRApi.DTOs;
var service = new OcrService();
var imagePath = @"C:\images\sample.png";
// Extract as table
OcrExtractionResponse tableResult = await service.ExtractAsync(imagePath, ImageExtractionMode.Table);
if (tableResult.Success)
{
var tableView = tableResult.TableData.ToDataView(); // bind to DataGrid
var extractedText = tableResult.Content;
}
// Extract as plain text
OcrExtractionResponse textResult = await service.ExtractAsync(imagePath, ImageExtractionMode.PlainText);
if (textResult.Success)
{
Console.WriteLine(textResult.Content);
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows10.0.19041 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-windows10.0.19041
- CommunityToolkit.Mvvm (>= 8.4.2)
- System.Drawing.Common (>= 10.0.9)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OCRReaderLib:
| Package | Downloads |
|---|---|
|
VirtualDataGridWPF
Lightweight virtualized data grid controls and helpers for WPF applications. Optimized for large datasets with smooth UI virtualization and MVVM-friendly APIs. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 129 | 7/10/2026 |