public static final class DocumentDetector.Result extends QuadWithSizeDetector.Result
Detector.Result.DetectionCode
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator |
CREATOR |
mOwner
Modifier | Constructor and Description |
---|---|
protected |
Result(long nativeResult) |
Modifier and Type | Method and Description |
---|---|
DocumentDetector.Result |
clone()
Create a copy of the result.
|
protected void |
deserializeFromByteArray(byte[] arr) |
double |
getAspectRatio()
Returns the aspect ratio of detected document.
|
protected byte[] |
serializeToByteArray() |
protected void |
terminateNative(long nativeContext) |
getPhysicalHeightInInches
getDetectionLocation, toString
getDetectionCode, getDetectionStatus, isEmpty, nativeGetDetectionCode
describeContents, finalize, getNativeContext, readFromParcel, writeToParcel
public double getAspectRatio()
@Nullable protected byte[] serializeToByteArray()
serializeToByteArray
in class Entity.Result
protected void deserializeFromByteArray(@NonNull byte[] arr)
deserializeFromByteArray
in class Entity.Result
@NonNull public DocumentDetector.Result clone()
Entity.Result
clone
in class Entity.Result
protected void terminateNative(long nativeContext)
terminateNative
in class Entity.Result