public class USDLRecognizerSettings extends RecognizerSettings
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<USDLRecognizerSettings> |
CREATOR |
mNativeContext| Constructor and Description |
|---|
USDLRecognizerSettings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNullQuietZoneAllowed() |
boolean |
isScanning1DBarcodes()
Returns true if scanning of 1D barcodes on some driver's licenses is enabled.
|
boolean |
isUncertainScanMode() |
void |
setNullQuietZoneAllowed(boolean nullQuietZoneAllowed) |
void |
setScan1DBarcodes(boolean scan1DBarcodes)
Allow scanning of 1D Code39 and Code128 barcodes on driver's licenses that contain
those barcodes alongside PDF417 barcode.
|
void |
setUncertainScanning(boolean uncertainScanning) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
describeContents, finalize, getNativeContext, isEnabled, requiresAutofocus, requiresLandscapeMode, setEnabledpublic static final android.os.Parcelable.Creator<USDLRecognizerSettings> CREATOR
public void setUncertainScanning(boolean uncertainScanning)
uncertainScanning - Enable scanning of non-standard elements, but there is no
guarantee that all data will be read. For Pdf417 barcode to be
used when multiple rows are missing (e.g. not whole barcode is
printed)public boolean isUncertainScanMode()
public void setNullQuietZoneAllowed(boolean nullQuietZoneAllowed)
nullQuietZoneAllowed - Allow scanning barcodes which don't have quiet zone
surrounding it (e.g. text concatenated with barcode). This
option can significantly increase recognition time.public boolean isNullQuietZoneAllowed()
public void setScan1DBarcodes(boolean scan1DBarcodes)
scan1DBarcodes - Whether or not 1D barcodes on some licenses will be scanned.public boolean isScanning1DBarcodes()
public void writeToParcel(android.os.Parcel dest,
int flags)