python3.9版本,设置set config国内源。
pip3 install paddlepaddle==3.0.0b2 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/
验证是否安装成功
python3 -c "import paddle; print(paddle.__version__)"
若未打印出版本信息,再重新安装几次上述命令。若缺少包,要也补包。
参考
https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/installation/installation.md
git clone https://gitee.com/paddlepaddle/PaddleX.git
cd PaddleX
pip3 install -e .
也可以换成其他的识别
python3 -m paddlex --pipeline table_recognition --input table_recognition.jpg --device gpu:0
详细参考
https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/pipeline_usage/tutorials/ocr_pipelines/table_recognition.md
python3 -m paddlex --install serving
参考
https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/pipeline_deploy/service_deploy.md
paddlex --serve --pipeline table_recognition
如python、golang、PHP等。
参考
https://paddlepaddle.github.io/PaddleX/latest/pipeline_usage/tutorials/ocr_pipelines/table_recognition.html#3
https://github.com/PaddlePaddle/PaddleX/tree/develop