Class UsdlRecognizer
java.lang.Object
com.microblink.blinkid.entities.Entity<T>
com.microblink.blinkid.entities.recognizers.Recognizer<UsdlRecognizer.Result>
com.microblink.blinkid.entities.recognizers.blinkbarcode.usdl.UsdlRecognizer
- All Implemented Interfaces:
android.os.Parcelable
,JsonizableEntity
Deprecated.
Recognizer that scan 2D barcodes from United States Driver License.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<UsdlRecognizer>
Deprecated.Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.Create a copy of the entity.void
consumeResultFrom
(Entity other) Deprecated.Consume result from other entity.protected void
deserializeNativeSettings
(byte[] serializedSettings) Deprecated.boolean
Deprecated.Enables parsing of compact barcode encoding format.boolean
Deprecated.Allow scanning PDF417 barcodes which don't have quiet zone surrounding it (e.g.boolean
Deprecated.Enable decoding of non-standard PDF417 barcodes, but without guarantee that all data will be read.protected byte[]
Deprecated.void
setEnableCompactParser
(boolean enableCompactParser) Deprecated.Enables parsing of compact barcode encoding format.void
setNullQuietZoneAllowed
(boolean nullQuietZoneAllowed) Deprecated.Allow scanning PDF417 barcodes which don't have quiet zone surrounding it (e.g.void
setUncertainDecoding
(boolean uncertainDecoding) Deprecated.Enable decoding of non-standard PDF417 barcodes, but without guarantee that all data will be read.protected void
terminateNative
(long nativeContext) Deprecated.Methods inherited from class com.microblink.blinkid.entities.recognizers.Recognizer
getName, isExcludedFromPing, requiresAutofocus, requiresLandscapeMode, signedJsonNativeGet, toSignedJson
Methods inherited from class com.microblink.blinkid.entities.Entity
describeContents, finalize, getNativeContext, getResult, nativeGetNativeResultContext, readFromParcel, writeToParcel
-
Field Details
-
CREATOR
Deprecated.
-
-
Constructor Details
-
UsdlRecognizer
public UsdlRecognizer()Deprecated.
-
-
Method Details
-
setUncertainDecoding
public void setUncertainDecoding(boolean uncertainDecoding) Deprecated.Enable decoding of non-standard PDF417 barcodes, but without guarantee that all data will be read. This option should be enabled for PDF417 barcode that has missing rows (i.e. not whole barcode is printed) By default, this is set to 'true' -
isUncertainDecoding
public boolean isUncertainDecoding()Deprecated.Enable decoding of non-standard PDF417 barcodes, but without guarantee that all data will be read. This option should be enabled for PDF417 barcode that has missing rows (i.e. not whole barcode is printed) By default, this is set to 'true' -
setNullQuietZoneAllowed
public void setNullQuietZoneAllowed(boolean nullQuietZoneAllowed) Deprecated.Allow scanning PDF417 barcodes which don't have quiet zone surrounding it (e.g. text concatenated with barcode). This option can significantly increase recognition time. By default, this is set to 'true' -
isNullQuietZoneAllowed
public boolean isNullQuietZoneAllowed()Deprecated.Allow scanning PDF417 barcodes which don't have quiet zone surrounding it (e.g. text concatenated with barcode). This option can significantly increase recognition time. By default, this is set to 'true' -
setEnableCompactParser
public void setEnableCompactParser(boolean enableCompactParser) Deprecated.Enables parsing of compact barcode encoding format. By default, this is set to 'false' -
isEnableCompactParser
public boolean isEnableCompactParser()Deprecated.Enables parsing of compact barcode encoding format. By default, this is set to 'false' -
terminateNative
protected void terminateNative(long nativeContext) Deprecated.- Specified by:
terminateNative
in classEntity<UsdlRecognizer.Result>
-
serializeNativeSettings
@Nullable protected byte[] serializeNativeSettings()Deprecated.- Specified by:
serializeNativeSettings
in classEntity<UsdlRecognizer.Result>
-
deserializeNativeSettings
protected void deserializeNativeSettings(@NonNull byte[] serializedSettings) Deprecated.- Specified by:
deserializeNativeSettings
in classEntity<UsdlRecognizer.Result>
-
clone
Deprecated.Description copied from class:Entity
Create a copy of the entity. This is required if properties of the entity must be modified while background thread performs processing. In order to avoid race conditions, changing properties is not allowed while entity is used in background processing. However, you are able to make a copy of the entity, change properties of it and then update theRecognizerRunnerView
orRecognizerRunner
with the updated entity hierarchy.- Specified by:
clone
in classRecognizer<UsdlRecognizer.Result>
- Returns:
- a copy of the entity
-
consumeResultFrom
Deprecated.Description copied from class:Entity
Consume result from other entity. The result from other will be put instead current result of this entity. This method is used insideBaseIntentTransferable.loadFromIntent(Intent)
and similar methods to replace the result content of the saved entities with results that have arrived overIntent
- Specified by:
consumeResultFrom
in classEntity<UsdlRecognizer.Result>
- Parameters:
other
- Entity from which result should be consumed.
-