import easyocr import PIL from PIL import ImageDraw import streamlit as st import requests x = st.slider('Select a value') st.write(x, 'squared is', x * x) reader = easyocr.Reader(['en']) url = 'https://fki.tic.heia-fr.ch/static/img/a01-122-02-00.jpg' img = PIL.Image.open(url) print(img) bound = reader.readtext(img) print(bound) print("fetched image")