Changed some settings to make the image able to work with opencv