File size: 155 Bytes
d9028d2
 
 
 
 
 
1
2
3
4
5
6
7
from app import ocr
from pathlib import Path

def test_detection():
    result = ocr(str(Path(__file__).parent / 'demo.jpg'))
    assert len(result) == 11