Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
gingdev
/
image_translator
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
d9028d2
image_translator
/
tests
/
test_ocr.py
gingdev
chore: wip
d9028d2
7 months ago
raw
Copy download link
history
blame
Safe
155 Bytes
from
app
import
ocr
from
pathlib
import
Path
def
test_detection
():
result = ocr(
str
(Path(__file__).parent /
'demo.jpg'
))
assert
len
(result) ==
11