|
|
@@ -124,7 +124,7 @@ class StreamingDocPipeline(EnhancedDocPipeline):
|
|
|
try:
|
|
|
# 1. 加载文档并分类
|
|
|
dpi = self.config.get('input', {}).get('dpi', 200)
|
|
|
- images, pdf_type, pdf_doc = PDFUtils.load_and_classify_document(
|
|
|
+ images, pdf_type, pdf_doc, renderer_used = PDFUtils.load_and_classify_document(
|
|
|
doc_path, dpi=dpi, page_range=page_range
|
|
|
)
|
|
|
|