[bug fix] Fix pdf2word in whl (#10585)
* add en doc * fix dead link & test=document_fix * fix dead link & test=document_fix * update args default type & test=document_fix * fix doc & test=document_fix * fix pdf2word in whlpull/7416/merge
parent
df54a7b422
commit
1f47bca525
|
@ -729,7 +729,7 @@ def main():
|
|||
logger.info('processing {}/{} page:'.format(index + 1,
|
||||
len(img_paths)))
|
||||
new_img_name = os.path.basename(new_img_path).split('.')[0]
|
||||
result = engine(new_img_path, img_idx=index)
|
||||
result = engine(img, img_idx=index)
|
||||
save_structure_res(result, args.output, img_name, index)
|
||||
|
||||
if args.recovery and result != []:
|
||||
|
|
Loading…
Reference in New Issue