Mattral commited on
Commit
e763c41
·
verified ·
1 Parent(s): cc3aad6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ if image is not None:
57
  st.image(image) # Display
58
 
59
  # Only detect the English and Turkish part of the image as text
60
- reader = easyocr.Reader(['en'], gpu=False)
61
  result = reader.readtext(np.array(image)) # Turn image to numpy array
62
 
63
  # Print all predicted text:
 
57
  st.image(image) # Display
58
 
59
  # Only detect the English and Turkish part of the image as text
60
+ reader = easyocr.Reader(['en','ja'], gpu=False)
61
  result = reader.readtext(np.array(image)) # Turn image to numpy array
62
 
63
  # Print all predicted text: