In class, Camera was a method like
public abstract void onPreviewFrame (byte[] data, Camera camera)
where I can to receivebyte[]
data and change picture
but Camera
is depreciated at this moment
Is there a method in Camera 2
like onPreviewFrame, which returns data
I want to impose a filter on a picture in TextureView from Camera