ZingPDF.OCR
1.0.56
dotnet add package ZingPDF.OCR --version 1.0.56
NuGet\Install-Package ZingPDF.OCR -Version 1.0.56
<PackageReference Include="ZingPDF.OCR" Version="1.0.56" />
<PackageVersion Include="ZingPDF.OCR" Version="1.0.56" />
<PackageReference Include="ZingPDF.OCR" />
paket add ZingPDF.OCR --version 1.0.56
#r "nuget: ZingPDF.OCR, 1.0.56"
#:package ZingPDF.OCR@1.0.56
#addin nuget:?package=ZingPDF.OCR&version=1.0.56
#tool nuget:?package=ZingPDF.OCR&version=1.0.56
ZingPDF.OCR
ZingPDF.OCR adds OCR support for scanned and image-based PDF pages.
Installation
dotnet add package ZingPDF.OCR
The built-in TesseractOcrEngine also needs Tesseract language data at runtime. See the
official Tesseract documentation for setup details.
Quick start
using ZingPDF;
using ZingPDF.OCR;
using var pdf = Pdf.Load(File.OpenRead("scanned.pdf"));
var engine = new TesseractOcrEngine("./tessdata", "eng");
var text = await pdf.ExtractPlainTextWithOcrAsync(engine);
Main workflows
- extract OCR text from scanned or image-based PDF pages
- combine OCR with the main text extraction workflow
- use the built-in
TesseractOcrEngineor a customIOcrEngine
Current limits
- this package does not render arbitrary PDF drawing commands into an OCR image
- OCR works on image-based pages and other pages with usable image XObjects
- JPEG, JPEG 2000 passthrough, and common 8-bit RGB or grayscale image streams are the main supported inputs today
TesseractOcrEnginerequires native Tesseract support and language data files at runtime
Licensing
ZingPDF is proprietary software. Review LICENSE.txt and ensure you have an active paid subscription with sufficient seats, or another applicable commercial agreement, before commercial use or commercial bundling.
Evaluation and other non-commercial use are free.
Support and compatibility
See SUPPORT.md in the package root or docs/project/SUPPORT.md in the repository for the current support stance and release-readiness notes.
Related docs
- docs: zingpdf.dev/docs.html
- guides: zingpdf.dev/guides.html
- repository: github.com/ZingPDF/ZingPDF
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.