public class NativeLicensePlateScanner
public static int DEFAULT_MINIMUM_REQUIRED_FRAME_COUNT
public static int DEFAULT_MAXIMUM_ACCUMULATED_FRAME_COUNT
public static io.scanbot.licenseplate.NativeLicensePlateScanner.Companion Companion
public NativeLicensePlateScanner(@NotNull
java.lang.String tessDataPath)
tessDataPath - Path to OCR blobs, needed for optical recognition@Nullable public NativeLicensePlateScanResult scanNv21(@NotNull kotlin.Array[] nv21, int width, int height, int orientation, @Nullable android.graphics.Rect finderRect)
Scan image to recognize a text and validate it with the predefined validator
nv21 - image in form of nv21-encoded byte arraywidth - image width, pixelsheight - image height, pixelsorientation - image orientation. Default is 0finderRect - if non-null - perform scanning only in given area. Default is nullpublic void cleanRecognitionQueue()
Allows to clean the accumulated frames inside the recognizer
public void setConfiguration(@NotNull
NativeLicensePlateScannerConfig config)
Sets the configuration to use during the text recognition
protected void finalize()