Package io.scanbot.sdk.check
Class CheckScanner
java.lang.Object
io.scanbot.sdk.check.CheckScanner
- All Implemented Interfaces:
AutoCloseable
API for check scanning.
Required licence feature(s): CheckScanner.
-
Constructor Summary
ConstructorsConstructorDescriptionCheckScanner(CheckScannerConfiguration configuration) Constructs CheckScanner with the given params. -
Method Summary
-
Constructor Details
-
CheckScanner
Constructs CheckScanner with the given params.- Parameters:
configuration- The configuration to use for the check scanner.- Throws:
LicenseException- If license requirements for the API are not met
-
-
Method Details
-
run
Scan check in the given image.- Parameters:
image- The image to scan check in.- Returns:
- The check scanning result.
- Throws:
InvalidImageRefException- If an invalid image reference is usedLicenseException- If license requirements for the API are not met
-
clearResult
public void clearResult()Clears the accumulated results. Should be called after a document has been scanned to the customer's satisfaction to prevent a poisoned cache. -
close
public void close()Closes native resources held by the object.- Specified by:
closein interfaceAutoCloseable
-
finalize
-