public interface

ImageProcessor.Response

 androidx.camera.core.ImageProcessor.Response

Overview

A response for returning a processed ImageProxy to CameraX.

Summary

Methods
public ImageProxygetOutputImage()

Gets the output image returned by the ImageProcessor.

Methods

public ImageProxy getOutputImage()

Gets the output image returned by the ImageProcessor.

ImageProcessor should implement the ImageProxy and ImageProxy.PlaneProxy interfaces to create the return value. Once return, CameraX will inject the image back to the processing pipeline.

The ImageProxy must follow the instruction in the request, or CameraX may throw error. For example, the image format must match the description of the ImageProcessor.Request.getOutputFormat().

Returns:

the output image.