Package io.scanbot.vin
Class NativeVinScanner
-
- All Implemented Interfaces:
public final class NativeVinScanner extends SelfDisposable
-
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerDEFAULT_MINIMUM_REQUIRED_FRAME_COUNTpublic final static IntegerDEFAULT_MAXIMUM_ACCUMULATED_FRAME_COUNTpublic final static IntegerDEFAULT_OCR_RESOLUTION_LIMIT
-
Constructor Summary
Constructors Constructor Description NativeVinScanner()
-
Method Summary
Modifier and Type Method Description final NativeVinScanResultscanNv21(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect finderRect)Scan image to recognize VIN. final UnitsetConfiguration(NativeVinScannerConfig config)Sets the configuration to use during VIN recognition. -
-
Method Detail
-
scanNv21
final NativeVinScanResult scanNv21(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect finderRect)
Scan image to recognize VIN.
- Parameters:
nv21- image in form of nv21-encoded byte arraywidth- image width, pixelsheight- image height, pixelsorientation- image orientation.finderRect- if non-null - perform scanning only in given area.
-
setConfiguration
final Unit setConfiguration(NativeVinScannerConfig config)
Sets the configuration to use during VIN recognition.
-
-
-
-