mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-09-24 23:33:08 +08:00
fix whl for layout recovery
This commit is contained in:
+1
-2
@@ -698,8 +698,7 @@ def main():
|
||||
if args.recovery and all_res != []:
|
||||
try:
|
||||
from ppstructure.recovery.recovery_to_doc import convert_info_docx
|
||||
convert_info_docx(img, all_res, args.output, img_name,
|
||||
args.save_pdf)
|
||||
convert_info_docx(img, all_res, args.output, img_name)
|
||||
except Exception as ex:
|
||||
logger.error(
|
||||
"error in layout recovery image:{}, err msg: {}".format(
|
||||
|
||||
Reference in New Issue
Block a user