# 安装paddlepaddle
pip install paddlepaddle
pip install paddleocr
测试:
paddleocr --image_dir ./a.jpg --use_angle_cls true --use_gpu false
# 安装pdfocrer
pip install pillow PyPDF2 reportlab
sudo apt install ghostscript
pip install pdfocrer
参考:
https://github.com/msmarkgu/PdfOCRer
https://paddlepaddle.github.io/PaddleOCR/latest/ppocr/quick_start.html