Package io.scanbot.sdk.vin
Class VinScanner
java.lang.Object
io.scanbot.sdk.vin.VinScanner
- All Implemented Interfaces:
AutoCloseable
API for VIN scanning.
-
Constructor Summary
ConstructorsConstructorDescriptionVinScanner(VinScannerConfiguration configuration) Constructs VinScanner with the given params. -
Method Summary
-
Constructor Details
-
VinScanner
Constructs VinScanner with the given params.- Parameters:
configuration- The configuration to use for the VIN scanner.- Throws:
LicenseException- If license requirements for the API are not met
-
-
Method Details
-
run
Recognize VIN in the given image.- Parameters:
image- The image to recognize VIN in.- Returns:
- The recognized text line.
- Throws:
InvalidImageRefException- If an invalid image reference is usedLicenseException- If license requirements for the API are not met
-
cleanRecognitionQueue
public void cleanRecognitionQueue()Clean the queue of recognized VIN. -
close
public void close()Closes native resources held by the object.- Specified by:
closein interfaceAutoCloseable
-
finalize
-