Package com.microblink.blinkid.entities.recognizers.blinkid.generic

# Interface DewarpedImageCallback

All Superinterfaces:
  `android.os.Parcelable`

public interface DewarpedImageCallback extends android.os.Parcelable
Callback that will be invoked from the recognizer when it has dewarped image to return.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface android.os.Parcelable

  `android.os.Parcelable.ClassLoaderCreator<T extends Object>, android.os.Parcelable.Creator<T extends Object>`

- ## Field Summary

  ### Fields inherited from interface android.os.Parcelable

  `CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onImageAvailable(Image dewarpedImage)`
  Called when recognizer has dewarped image to return.

  ### Methods inherited from interface android.os.Parcelable

  `describeContents, writeToParcel`

- ## Method Details

  - ### onImageAvailable

    void onImageAvailable(@Nullable Image dewarpedImage)
    Called when recognizer has dewarped image to return. Note that all buffers associated with image are available only during life of this method. As soon as this method exits, there is no guarantee that buffers will be valid. If you need to store image for later processing, showing or saving, make sure you create a copy of it with `Image.clone()`.
    Parameters:
      `dewarpedImage` - The dewarped `Image` which is returned from the recognizer.