sideCaptureTimeoutMs property

double? sideCaptureTimeoutMs
getter/setter pair

Duration in milliseconds that needs to pass since scanning of the current document side has begun in order to finish side capture. The timeout timer is restarted on the document side flip.

Please be aware that time counting does not start from the moment when capture process starts. Instead, it starts from the moment when at least one valid frame candidate for the current document side enters the analysis queue. The reason for this is the better user experience in cases when, for example, the timeout is set to 10 seconds and the user starts scanning, leaves the device lying on the table for 9 seconds, and then points the device towards the document it wants to capture: in such a case, it is better to let the user capture the document. To disable side capture timeout set it to null.

Default: 15000 (15 seconds)

Implementation

double? sideCaptureTimeoutMs = 15000;