Spaces:
Runtime error
Runtime error
Commit
·
f62db75
1
Parent(s):
e8a6369
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,8 +14,8 @@ reader = easyocr.Reader(['en'])
|
|
| 14 |
url = 'https://fki.tic.heia-fr.ch/static/img/a01-122-02-00.jpg'
|
| 15 |
img = PIL.Image.open(requests.get(url, stream=True).raw).convert("RGB")
|
| 16 |
print(img)
|
| 17 |
-
|
| 18 |
-
|
| 19 |
|
| 20 |
print("fetched image")
|
| 21 |
|
|
|
|
| 14 |
url = 'https://fki.tic.heia-fr.ch/static/img/a01-122-02-00.jpg'
|
| 15 |
img = PIL.Image.open(requests.get(url, stream=True).raw).convert("RGB")
|
| 16 |
print(img)
|
| 17 |
+
bound = reader.readtext(img)
|
| 18 |
+
print(bound)
|
| 19 |
|
| 20 |
print("fetched image")
|
| 21 |
|