init
This commit is contained in:
16
test002.py
Normal file
16
test002.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from paddleocr import PPStructureV3
|
||||
|
||||
pipeline = PPStructureV3(
|
||||
use_doc_orientation_classify=False,
|
||||
# use_table_recognition=True,
|
||||
use_doc_unwarping=False
|
||||
)
|
||||
|
||||
# For Image
|
||||
output = pipeline.predict(
|
||||
input="./bm.jpg",
|
||||
)
|
||||
|
||||
# 可视化结果并保存 json 结果
|
||||
for res in output:
|
||||
res.save_to_markdown(save_path="output")
|
Reference in New Issue
Block a user