快速开始 安装¶ pip install rapid-layout onnxruntime 运行¶ Python脚本运行终端运行 1 2 3 4 5 6 7 8 9 10from rapid_layout import EngineType, ModelType, RapidLayout, RapidLayoutInput cfg = RapidLayoutInput() layout_engine = RapidLayout(cfg=cfg) img_path = "https://raw.githubusercontent.com/RapidAI/RapidLayout/718b60e927ab893c2fad67c98f753b2105a6f421/tests/test_files/layout.jpg" results = layout_engine(img_path) print(results) results.vis("layout_res.png") 1rapid_layout test_images/layout.png 可视化结果¶ 评论