Setting camera parameters for taking high resolution pictures