File size: 418 Bytes
27e3c48
0c830e5
 
 
8f0ad8d
0c830e5
 
0649739
 
a53bd8d
0c830e5
a53bd8d
0c830e5
 
a53bd8d
 
 
 
 
27e3c48
4352add
 
27e3c48
0c830e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)
img = PIL.Image.open("dummy.jpg")

#reader = easyocr.Reader(['en'])


#url = 'https://fki.tic.heia-fr.ch/static/img/a01-122-02-00.jpg'
#img = PIL.Image.open("dummy.jpg")
#print(img)
#bound = reader.readtext(img)
#print(bound)

print("fetched image")