TexturePacker with OpenCV-Python