Update app.py
Browse files
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:
|