Reading an image file from a URL with PIL for text recognition (OCR) with pytesseract
import io
import requests
import pytesseract
from PIL import Image
response = requests.get("https://www.somedomain.com/your-image-file-here.png")
img = Image.open(io.BytesIO(response.content))
text = pytesseract.image_to_string(img)
print( text )