|
|
@@ -108,9 +108,9 @@ def process_images_unified(image_paths: List[str],
|
|
|
# PaddleOCR-VL 使用驼峰命名
|
|
|
predict_kwargs = {
|
|
|
'input': img_path,
|
|
|
- 'useLayoutDetection': kwargs.get('use_layout_detection', False),
|
|
|
- 'useDocOrientationClassify': kwargs.get('use_doc_orientation', True),
|
|
|
- 'useDocUnwarping': kwargs.get('use_doc_unwarping', False),
|
|
|
+ 'use_layout_detection': kwargs.get('use_layout_detection', True),
|
|
|
+ 'use_doc_orientation_classify': kwargs.get('use_doc_orientation', True),
|
|
|
+ 'use_doc_unwarping': kwargs.get('use_doc_unwarping', False),
|
|
|
}
|
|
|
else:
|
|
|
# PP-StructureV3 使用下划线命名
|