proofyx / utils /image_utils.py
muhammedsayeedurrahman's picture
Initial commit: AI Authenticity Checker
a434b46
Raw
History Blame Contribute Delete
107 Bytes
from PIL import Image
def load_rgb_image(path):
img = Image.open(path)
return img.convert("RGB")