A cleaner way to use opencv with Rpi Camera Module