How to use PaddlePaddle/PaddleOCR-VL with PaddleOCR:
# See https://www.paddleocr.ai/latest/version3.x/pipeline_usage/PaddleOCR-VL.html to installation from paddleocr import PaddleOCRVL pipeline = PaddleOCRVL(pipeline_version="v1") output = pipeline.predict("path/to/document_image.png") for res in output: res.print() res.save_to_json(save_path="output") res.save_to_markdown(save_path="output")
PP-DocLayoutV2目前暂不支持转ONNX格式
看着是因为argsort算子onnx不支持,但是可以用topK平替,有两种方法可以尝试:
· Sign up or log in to comment