Package io.scanbot.sdk.licenseplate
Class LicensePlateScanResult
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class LicensePlateScanResult implements Parcelable
Result of license plate scanning
-
-
Field Summary
Fields Modifier and Type Field Description private final String
countryCode
private final String
licensePlate
private final String
rawString
private final Double
confidenceValue
private final Boolean
validationSuccessful
private final Bitmap
croppedImage
-
Method Summary
Modifier and Type Method Description final String
getCountryCode()
final String
getLicensePlate()
final String
getRawString()
final Double
getConfidenceValue()
final Boolean
getValidationSuccessful()
final Bitmap
getCroppedImage()
-
-
Constructor Detail
-
LicensePlateScanResult
LicensePlateScanResult(String countryCode, String licensePlate, String rawString, Double confidenceValue, Boolean validationSuccessful, Bitmap croppedImage)
- Parameters:
countryCode
- country code of license platelicensePlate
- number on license platerawString
- raw detected textconfidenceValue
- confidence of the recognitionvalidationSuccessful
- if the recognition and validation was successfulcroppedImage
- the part of the image which was scanned for the license plate (optional)
-
-
Method Detail
-
getCountryCode
final String getCountryCode()
-
getLicensePlate
final String getLicensePlate()
-
getRawString
final String getRawString()
-
getConfidenceValue
final Double getConfidenceValue()
-
getValidationSuccessful
final Boolean getValidationSuccessful()
-
getCroppedImage
final Bitmap getCroppedImage()
-
-
-
-