import os from pathlib import Path import numpy as np import requests from PIL import Image from io import BytesIO req = requests.get("https://upload.wikimedia