Views
No views yet

1python -m pip install paddlepaddle-gpu==3.2.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
2python -m pip install -U "paddleocr[doc-parser]"
3python -m pip install https://paddle-whl.bj.bcebos.com/nightly/cu126/safetensors/safetensors-0.6.2.dev0-cp38-abi3-linux_x86_64.whlFor Windows users, please use WSL or a Docker container.
1from paddleocr import LayoutDetection
2
3model = LayoutDetection(model_name="PP-DocLayoutV2")
4output = model.predict("https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/layout.jpg", batch_size=1, layout_nms=True)
5for res in output:
6 res.print()
7 res.save_to_img(save_path="./output/")
8 res.save_to_json(save_path="./output/res.json")1@misc{cui2025paddleocrvlboostingmultilingualdocument,
2 title={PaddleOCR-VL: Boosting Multilingual Document Parsing via a 0.9B Ultra-Compact Vision-Language Model},
3 author={Cheng Cui and Ting Sun and Suyin Liang and Tingquan Gao and Zelun Zhang and Jiaxuan Liu and Xueqing Wang and Changda Zhou and Hongen Liu and Manhui Lin and Yue Zhang and Yubo Zhang and Handong Zheng and Jing Zhang and Jun Zhang and Yi Liu and Dianhai Yu and Yanjun Ma},
4 year={2025},
5 eprint={2510.14528},
6 archivePrefix={arXiv},
7 primaryClass={cs.CV},
8 url={https://arxiv.org/abs/2510.14528},
9}