File size: 389 Bytes
27e3c48
0c830e5
 
 
8f0ad8d
0c830e5
 
0649739
 
a53bd8d
0c830e5
c3997fb
 
0c830e5
 
a53bd8d
27e3c48
c3997fb
 
 
 
 
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
25
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")

print("fetched image")
reader = easyocr.Reader(['en'])


#url = 'https://fki.tic.heia-fr.ch/static/img/a01-122-02-00.jpg'


bound = reader.readtext(img)
print(bound)
print("Completed")