windows安装paddle
windows需手动下载shpely
https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely
pip install Shapely-1.7.1-cp38-cp38-win_amd64.whl pip install numpy==1.19 pip install paddlepaddle==2.0.0rc0 -i https://mirror.baidu.com/pypi/simple pip install matplotlib pip install pyclipper pip install paddlehub hub install chinese_ocr_db_crnn_mobile==1.1.0 hub install ultra_light_fast_generic_face_detector_1mb_640==1.1.2 hub install humanseg_mobile==1.1.0 hub serving start --config config.json hub serving start -m chinese_ocr_db_crnn_mobile -p 8866 hub run ultra_light_fast_generic_face_detector_1mb_640 --input_path "bbt1.jpg"
config.json
{ "modules_info": { "chinese_ocr_db_crnn_mobile": { "init_args": { "version": "1.1.0" }, "predict_args": { "use_gpu": false } } }, "port": 8866, "use_multiprocess": false, "workers": 2 }