Skip to main content

Building an interface for scanning documents with the Custom UI

You can use the DocumentScannerCamera class to build a custom scanner UI for document scanning. The DocumentScannerCamera component manages document scanning results, errors, and contour detection directly within the widget.

The DocumentScannerCamera component does not automatically handle camera permissions. Ensure that your application requests and secures the necessary camera permissions to enable scanning functionality.

Here's how you can integrate DocumentScannerCamera:

DocumentScannerCamera Custom Component
loading...

Custom UI configuration classes overview

Here's a brief overview of properties that control the appearance and behavior:

For a fully functional example, please refer to our example app scanbot-sdk-example-flutter on GitHub.

Want to scan longer than one minute?

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

Get free trial license