image_translator / tests /test_ocr.py
gingdev's picture
chore: wip
d9028d2
raw
history blame contribute delete
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