prepare camera capture