Skip to main content

Image enhancement with the iOS Document Scanner SDK

Introduction

Documents captured with mobile devices often suffer from warping or perspective distortion, especially when photographed at an angle, on uneven surfaces, or when physically deformed (e.g. folded or crumpled). These issues reduce readability and negatively impact OCR accuracy. The Scanbot Document Scanner SDK provides Image Enhancement (Document dewarping) to correct such distortions, producing flat, high-quality images optimized for OCR and data extraction. This helps deliver professional scanning experiences, improves processing reliability, and is especially important in industries like finance, healthcare, logistics, and government where document quality is critical.

Usage

Image enhancement is available across multiple integration points in the Scanbot SDK, allowing flexibility depending on your workflow. You can use it:

  • As part of the Ready-to-Use (RTU) Document Scanner UI for automatic processing during capture
  • On individual scanned pages for manual or selective post-processing
  • Via the Document API for full programmatic control and custom pipelines

Usage in the RTU-UI Document Scanner

The Image Enhancer can be configured in the RTU-UI Document Scanner.

By default, the captured document pages are automatically enhanced/dewarped. The result includes the enhancement parameters applied to the page. When disabled, the images are returned without processing, preserving default behavior.

Image Enhancement in RTU-UI Document Scanner
loading...

Usage in Scanned Page

Image enhancement can be applied at the scanned page level for more control.

  • Apply enhancement after capture
  • Re-process existing pages
  • Keep original and processed versions

This allows flexible integration into custom review and editing workflows.

Image Enhancement in Scanned Page
loading...

Usage of Document Enhancer API directly on an image

The Document Enhancer API can be used directly on any image, providing full control over the enhancement process.

Image Enhancement on an Image
loading...

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get free trial license