Can anyone please help me in getting the camerapreview frame data without clicking the camara click. I want to get the currect camera data with out clicking the camera button
Can anyone please help me in getting the camerapreview frame data without clicking the
Share
I guess you are searching for this function in the Camera class,
Define the callback
Once the preview is started this callback will get triggered on each frame, the data (byte[]) are in the preview format, which you can find while setting the Camera Parameters
First get a list of supported preview formats
the default format is
ImageFormat.NV21If you want to change the preview format use this function, choose a format from the available formats