Class ImageAnalysisResult

  • All Implemented Interfaces:

    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

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

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

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

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

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

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

        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