2024-02-29 18:31:38 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 17:51:15 +08:00
2024-02-29 17:51:15 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 17:51:15 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 17:51:15 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00
2024-02-29 16:53:41 +08:00

pdf_toolbox

pdf 解析基础函数

pdf是否是文字类型/扫描类型的区分

cat s3_pdf_path.example.pdf | parallel --colsep ' ' -j 10 "python pdf_meta_scan.py --s3-pdf-path {2} --s3-profile {1} >> {/}.jsonl"

find dir/to/jsonl/ -type f -name "*.jsonl" | parallel -j 10 "python pdf_classfy_by_type.py --json_file {} >> {/}.jsonl"

# 如果单独运行脚本合并到code-clean之后需要运行参考如下
python -m pdf_meta_scan --s3-pdf-path "D:\pdf_files\内容排序测试_pdf\p3_图文混排 5.pdf" --s3-profile s2

pdf

Languages
Python 98.9%
Dockerfile 1.1%