add opencv settings and open an image