Captureing image from camera