I have been developing an android application which uses camera preview raw data for real time image processing.
i have registered the PreviewCallback with camera, and i am able to get each frame data with
@Override
public void onPreviewFrame(byte[] data, Camera camera) {
}
i have another requirement , which is calculating system time (captured time /shutter time ) for each frames (in ms) . each frame should be associated with the appropriate captured time/shutter time.
while using camera.takePicture(shutterCallback, null, null);
i can get the shutter time for individual picture.but in preview how can i get the shutter time for each frame which arrives to onpreviewframe callback.