Mattral commited on
Commit
20e3359
·
verified ·
1 Parent(s): 64f47a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ image = Image.open(file) # read image with PIL library
18
  st.image(image) #display
19
 
20
  # it will only detect the English and Turkish part of the image as text
21
- reader = easyocr.Reader(['tr','en'], gpu=False)
22
  result = reader.readtext(np.array(image)) # turn image to numpy array
23
 
24
  textdic_easyocr = {}
 
18
  st.image(image) #display
19
 
20
  # it will only detect the English and Turkish part of the image as text
21
+ reader = easyocr.Reader(['my','en'], gpu=False)
22
  result = reader.readtext(np.array(image)) # turn image to numpy array
23
 
24
  textdic_easyocr = {}