저장
This commit is contained in:
0
model_services/dotc.ocr/requirements.txt
Normal file
0
model_services/dotc.ocr/requirements.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
from paddleocr import PaddleOCRVL
|
||||
|
||||
pipeline = PaddleOCRVL(
|
||||
vl_rec_backend="vllm-server", vl_rec_server_url="http://127.0.0.1:8118/v1"
|
||||
)
|
||||
output = pipeline.predict(
|
||||
"/home/jackjack/test/deepseek_ocr/data/20250708092450-131-769-592.jpg"
|
||||
)
|
||||
for res in output:
|
||||
res.print()
|
||||
res.save_to_json(save_path="output")
|
||||
res.save_to_markdown(save_path="output")
|
||||
|
||||
Reference in New Issue
Block a user