mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-06-03 21:53:39 +08:00
fix whl for layout recovery
This commit is contained in:
parent
b03ac29272
commit
b947dc3fb3
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user