Python and OpenCV: Batch resize and pad images Maarten Smeets January 2, 2023 Python, Technology No Comments When using AI models like Stable Diffusion, sometimes input images need to be of a specific size. In case of Stable Diffusion, multiples of 64 are required. Stable Diffusion … [Continue Reading...]