Class ImageAnalysisResult

  • All Implemented Interfaces:
    android.os.Parcelable

    public final class ImageAnalysisResult
    extends java.lang.Object
    implements android.os.Parcelable
    Contains document image analysis information.
    • Constructor Detail

      • ImageAnalysisResult

        protected ImageAnalysisResult​(@NonNull
                                      android.os.Parcel in)
    • Method Detail

      • isBlurred

        @NonNull
        public boolean isBlurred()
        Whether the image is blurred.
      • getDocumentImageColorStatus

        @NonNull
        public DocumentImageColorStatus getDocumentImageColorStatus()
        The color status determined from scanned image.
      • getDocumentImageMoireStatus

        @NonNull
        public ImageAnalysisDetectionStatus getDocumentImageMoireStatus()
        The Moire pattern detection status determined from the scanned image.
      • getFaceDetectionStatus

        @NonNull
        public ImageAnalysisDetectionStatus getFaceDetectionStatus()
        Face detection status determined from the scanned image.
      • getMrzDetectionStatus

        @NonNull
        public ImageAnalysisDetectionStatus getMrzDetectionStatus()
        Mrz detection status determined from the scanned image.
      • getBarcodeDetectionStatus

        @NonNull
        public ImageAnalysisDetectionStatus getBarcodeDetectionStatus()
        Barcode detection status determined from the scanned image.
      • createFromNative

        @NonNull
        public static ImageAnalysisResult createFromNative​(boolean blurred,
                                                           int documentImageColorStatus,
                                                           int documentImageMoireStatus,
                                                           int faceDetectionStatus,
                                                           int mrzDetectionStatus,
                                                           int barcodeDetectionStatus)
        This method is called from native code to build ImageAnalysisResult from native object.
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(@NonNull
                                  android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable