Image Preprocessing and OCR Accuracy in C#

PSPDFKit GdPicture.NET Library allows you to automatically preprocess and correct poorly scanned documents. Leverage automatic image correction and preprocessing to improve readability (automatic deskew, invert, noise removal, and more). Explore our guides and code samples to learn how you can quickly integrate our image preprocessing technology into your application or workflow.

PSPDFKit SDKs are deployed in some of the world’s most popular applications, such as those made by Autodesk, Disney, UBS, Dropbox, IBM, and Lufthansa.


Don’t preprocess documents before recognizing text with OCR. The GdPicture.NET OCR engine preprocesses documents automatically with better results than manual preprocessing.

Guides for Preprocessing

How to auto-deskew files with preprocessing

How to auto-invert files with preprocessing

Enhance Characters
How to auto-enhance characters with preprocessing

Remove Noise
How to automatically remove noise and blemishes from documents

Remove Lines
How to automatically remove lines from documents

Remove Punch Holes
How to automatically remove punch holes from documents

Free Trial

Enjoy unlimited trial usage of all our products. Get guidance and tech support from developers who built the product, and get started within minutes.