-
public interface FrameProcessorA FrameProcessor will process Frames coming from the camera preview. It must be passed to addFrameProcessor.
-
-
Method Summary
-
-
Method Detail
-
process
@WorkerThread() abstract void process(@NonNull() Frame frame)
Processes the given frame. The frame will hold the correct values only for theduration of this method. When it returns, the frame contents will be replaced.To keep working with the Frame in an async manner, please use freeze,which will return an immutable Frame. In that case you can pass / hold the frame foras long as you want, and then release its contents using release.
- Parameters:
frame- the new frame
-
-
-
-