Spaces:
Running
Running
pelinbalci
commited on
Commit
•
e13b7e2
1
Parent(s):
6352de6
add japanese
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ if file is not None:
|
|
32 |
st.image(image) #display
|
33 |
|
34 |
# it will only detect the English and Turkish part of the image as text
|
35 |
-
reader = easyocr.Reader(['tr','en'], gpu=False)
|
36 |
result = reader.readtext(np.array(image)) # turn image to numpy array
|
37 |
|
38 |
# Add a placeholder
|
|
|
32 |
st.image(image) #display
|
33 |
|
34 |
# it will only detect the English and Turkish part of the image as text
|
35 |
+
reader = easyocr.Reader(['tr','en','ja'], gpu=False)
|
36 |
result = reader.readtext(np.array(image)) # turn image to numpy array
|
37 |
|
38 |
# Add a placeholder
|