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 Integer
DEFAULT_MINIMUM_REQUIRED_FRAME_COUNT
public final static Integer
DEFAULT_MAXIMUM_ACCUMULATED_FRAME_COUNT
public final static Integer
DEFAULT_OCR_RESOLUTION_LIMIT
-
Constructor Summary
Constructors Constructor Description NativeVinScanner()
-
Method Summary
Modifier and Type Method Description final NativeVinScanResult
scanNv21(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect finderRect)
Scan image to recognize VIN. final Unit
setConfiguration(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.
-
-
-
-