Task for camera preview