Interface DewarpedImageCallback
-
- All Superinterfaces:
android.os.Parcelable
public interface DewarpedImageCallback extends android.os.ParcelableCallback that will be invoked from the recognizer when it has dewarped image to return.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonImageAvailable(Image dewarpedImage)Called when recognizer has dewarped image to return.
-
-
-
Method Detail
-
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 withImage.clone().- Parameters:
dewarpedImage- The dewarpedImagewhich is returned from the recognizer.
-
-