setFrameCallback

abstract fun setFrameCallback(onProcessedFrame: (ProcessedFrame) -> Unit?)

Update the frame callback for preview while processing continues. This allows registering a preview callback when the processor is already running.

Parameters

onProcessedFrame

Callback for each processed frame