- All Known Subinterfaces:
@WorkerThread public interface DebugImageCallbackCallback that will be invoked when recognition process wishes to display a debug image.
void onImageAvailable(@NonNull Image image)Called on processing thread when it wants to show an image it is currently in process. 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- Image that is currently being processed