The camerax library should have getPreviewFrame() (if not present implement it), when called returns the camera preview frame.
The camerax library should have getPreviewFrame() (if not present implement it), when called returns the camera preview frame.