File size: 127 Bytes
9f67421
 
 
 
 
1
2
3
4
5
6
from PIL import Image

def load_image(image_path):
    image = Image.open(image_path)  # Load image from path
    return image