Interface DebugImageCallback

  • All Known Subinterfaces:
    DebugImageListener

    @WorkerThread
    public interface DebugImageCallback
    Callback that will be invoked when recognition process wishes to display a debug image.
    • Method Detail

      • onImageAvailable

        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.clone().
        Parameters:
        image - Image that is currently being processed