Class MRTDDetector.Result
java.lang.Object
com.microblink.blinkinput.entities.Entity.Result
com.microblink.blinkinput.entities.detectors.Detector.Result
com.microblink.blinkinput.entities.detectors.quad.QuadDetector.Result
com.microblink.blinkinput.entities.detectors.quad.QuadWithSizeDetector.Result
com.microblink.blinkinput.entities.detectors.quad.mrtd.MRTDDetector.Result
- All Implemented Interfaces:
android.os.Parcelable
- Enclosing class:
- MRTDDetector
-
Nested Class Summary
Nested classes/interfaces inherited from class com.microblink.blinkinput.entities.detectors.Detector.Result
Detector.Result.DetectionCode -
Field Summary
FieldsFields inherited from class com.microblink.blinkinput.entities.Entity.Result
mOwnerFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Create a copy of the result.protected voiddeserializeFromByteArray(byte[] arr) Returns the location of Machine Readable Zone in coordinate system of image in which detection was performed.floatReturns the physical height in inches of Machine Readable Zone.protected byte[]protected voidterminateNative(long nativeContext) toString()Methods inherited from class com.microblink.blinkinput.entities.detectors.quad.QuadWithSizeDetector.Result
getPhysicalHeightInInchesMethods inherited from class com.microblink.blinkinput.entities.detectors.quad.QuadDetector.Result
getDetectionLocationMethods inherited from class com.microblink.blinkinput.entities.detectors.Detector.Result
getDetectionCode, getDetectionStatus, isEmpty, nativeGetDetectionCodeMethods inherited from class com.microblink.blinkinput.entities.Entity.Result
describeContents, finalize, getNativeContext, readFromParcel, writeToParcel
-
Field Details
-
CREATOR
-
-
Constructor Details
-
Result
protected Result(long nativeResult)
-
-
Method Details
-
getMrzPhysicalHeightInInches
public float getMrzPhysicalHeightInInches()Returns the physical height in inches of Machine Readable Zone. -
getMRZLocation
Returns the location of Machine Readable Zone in coordinate system of image in which detection was performed.- Returns:
- the location of Machine Readable Zone in coordinate system of image in which detection was performed.
-
toString
- Overrides:
toStringin classQuadDetector.Result
-
serializeToByteArray
@Nullable protected byte[] serializeToByteArray()- Specified by:
serializeToByteArrayin classEntity.Result
-
deserializeFromByteArray
protected void deserializeFromByteArray(@NonNull byte[] arr) - Specified by:
deserializeFromByteArrayin classEntity.Result
-
clone
Description copied from class:Entity.ResultCreate a copy of the result. This is required in order to retain the result even after owning entity has mutated it.- Specified by:
clonein classEntity.Result- Returns:
- a copy of the result
-
terminateNative
protected void terminateNative(long nativeContext) - Specified by:
terminateNativein classEntity.Result
-