-
public final class NativeLicensePlateScanner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNativeLicensePlateScanner.Companion
-
Constructor Summary
Constructors Constructor Description NativeLicensePlateScanner(String tessDataPath)
-
Method Summary
Modifier and Type Method Description final NativeLicensePlateScanResultscanNv21(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect finderRect)Scan image to recognize a text and validate it with the predefined validator final UnitcleanRecognitionQueue()Allows to clean the accumulated frames inside the recognizer final UnitsetConfiguration(NativeLicensePlateScannerConfig config)Sets the configuration to use during the text recognition -
-
Constructor Detail
-
NativeLicensePlateScanner
NativeLicensePlateScanner(String tessDataPath)
-
-
Method Detail
-
scanNv21
final NativeLicensePlateScanResult scanNv21(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect finderRect)
Scan image to recognize a text and validate it with the predefined validator
- 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.
-
cleanRecognitionQueue
final Unit cleanRecognitionQueue()
Allows to clean the accumulated frames inside the recognizer
-
setConfiguration
final Unit setConfiguration(NativeLicensePlateScannerConfig config)
Sets the configuration to use during the text recognition
-
-
-
-