Пример #1
0
 def test_en_multi(self):
     file = os.path.join(get_test_files_dir(), 'ocr-test-en.jpg')
     ocr([file, file], None, "en")
Пример #2
0
 def test_cs(self):
     file = os.path.join(get_test_files_dir(), 'ocr-test-cs.png')
     ocr([file])
Пример #3
0
 def test_en(self):
     file = os.path.join(get_test_files_dir(), 'ocr-test-en.jpg')
     text = ocr([file], None, "en")