Spaces:
Running
Running
pelinbalci
commited on
Commit
•
95ad252
1
Parent(s):
e13b7e2
fix
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(['
|
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(['en','ja'], gpu=False)
|
36 |
result = reader.readtext(np.array(image)) # turn image to numpy array
|
37 |
|
38 |
# Add a placeholder
|