示例#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")