Package io.scanbot.sdk.vin
Interface VinScanner
-
- All Implemented Interfaces:
public interface VinScannerComponent to scan preview image and recognize Vehicle Identification Number (VIN).
-
-
Method Summary
Modifier and Type Method Description abstract VinScannerConfigurationcopyCurrentConfiguration()Returns a copy of the current configuration. abstract UnitsetConfiguration(VinScannerConfiguration configuration)Sets the configuration for the VIN scanner. abstract VinScannerResultscan(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect areaRect)Scan nv21 image to recognize VIN. -
-
Method Detail
-
copyCurrentConfiguration
abstract VinScannerConfiguration copyCurrentConfiguration()
Returns a copy of the current configuration.
-
setConfiguration
abstract Unit setConfiguration(VinScannerConfiguration configuration)
Sets the configuration for the VIN scanner.
- Parameters:
configuration- The configuration to set.
-
scan
abstract VinScannerResult scan(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect areaRect)
Scan nv21 image to recognize VIN.
- Parameters:
nv21- image in form of nv21-encoded byte arraywidth- image width, pixelsheight- image height, pixelsorientation- image orientation.areaRect- if non-null - perform scanning only in given area.
-
-
-
-