Here’s the code I used:
import requests
from PIL import Image
import io
import cv2
response = requests.get(df1.URL[0]).content
#print(response)

im = Image.open(io.BytesIO(response))


The image is very large. Is there a way to fasten things?