Cleaning documents with the Kotlin Multiplatform Document Scanner SDK
Overview
Document Cleanup lets the end user erase unwanted artifacts from a scanned page while preserving the underlying document content. Artifacts include handwriting, stamps, stains, fingers, shadows, and other distracting elements. The user paints over the regions to remove. The SDK then reconstructs a clean result image, with optional text preservation.
The standalone Cleanup Screen is presented with ScanbotSDK.documentEnhancer.startDocumentCleanupScreen and configured through DocumentCleanupStandaloneConfiguration.
It operates on a page of a DocumentData, so add your image to a document first and pass the document and page UUIDs to the configuration.
On success, the result callback returns the updated DocumentData.
Example configuration of the Cleanup Screen
loading...
You can learn more about DocumentCleanupStandaloneConfiguration, DocumentCleanupScreenConfiguration, and DocumentCleanupConfiguration in the SDK's API documentation.
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get free trial licenseScanbot SDK is part of the Apryse SDK product family
A mobile scan is just the start. With Apryse SDKs, you can expand mobile workflows into full cross‑platform document processing. Whether you need to edit PDFs, add secure digital signatures, or use a fast, customizable document viewer and editor, Apryse gives you the tools to build powerful features quickly.
Learn more
