scanFromImage

Scans a document from the provided image.

Return

The result of the document scanning operation.

Parameters

image

The image to scan.

configuration

The configuration for the document scanner.