Take photo in the background without showing preview.