diff --git a/paddleocr.py b/paddleocr.py index ff579679184ad950be9b6466b2be209e89d4639a..3958f7ad5727e52f405cd189cb5d5a1da911cbdf 100644 --- a/paddleocr.py +++ b/paddleocr.py @@ -50,22 +50,22 @@ model_urls = { 'french': { 'url': 'https://paddleocr.bj.bcebos.com/20-09-22/mobile/fr/french_ppocr_mobile_v1.1_rec_infer.tar', - 'dict_path': './ppocr/utils/french_dict.txt' + 'dict_path': './ppocr/utils/dict/french_dict.txt' }, 'german': { 'url': 'https://paddleocr.bj.bcebos.com/20-09-22/mobile/ge/german_ppocr_mobile_v1.1_rec_infer.tar', - 'dict_path': './ppocr/utils/german_dict.txt' + 'dict_path': './ppocr/utils/dict/german_dict.txt' }, 'korean': { 'url': 'https://paddleocr.bj.bcebos.com/20-09-22/mobile/kr/korean_ppocr_mobile_v1.1_rec_infer.tar', - 'dict_path': './ppocr/utils/korean_dict.txt' + 'dict_path': './ppocr/utils/dict/korean_dict.txt' }, 'japan': { 'url': 'https://paddleocr.bj.bcebos.com/20-09-22/mobile/jp/japan_ppocr_mobile_v1.1_rec_infer.tar', - 'dict_path': './ppocr/utils/japan_dict.txt' + 'dict_path': './ppocr/utils/dict/japan_dict.txt' } }, 'cls': diff --git a/setup.py b/setup.py index 33ed3ecdbd64ecd42b8d7eb44959449db16a29e1..d831a3a34f81357c5807127d763ffeb18974c0ff 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup( package_dir={'paddleocr': ''}, include_package_data=True, entry_points={"console_scripts": ["paddleocr= paddleocr.paddleocr:main"]}, - version='1.0.1', + version='1.1.1', install_requires=requirements, license='Apache License 2.0', description='Awesome OCR toolkits based on PaddlePaddle (8.6M ultra-lightweight pre-trained model, support training and deployment among server, mobile, embeded and IoT devices',