public interface FrameProcessor
Frames coming from the camera preview.
It must be passed to CameraView.addFrameProcessor(FrameProcessor).| Modifier and Type | Method and Description |
|---|---|
void |
process(Frame frame)
Processes the given frame.
|
@WorkerThread
void process(@NonNull
Frame frame)
Frame.freeze(),
which will return an immutable Frame. In that case you can pass / hold the frame for
as long as you want, and then release its contents using Frame.release().frame - the new frame