Commit be53986f authored by zhougaofeng's avatar zhougaofeng
Browse files

Update common_parse.py

parent 59af01ad
......@@ -43,11 +43,11 @@ def process_file(file_path, output_dir):
start = time.time()
if file_path.endswith('.pdf'):
res = pdf_ocr.ocr_pdf_client(config_path,file_path,output_dir)
res = pdf_ocr.ocr_pdf_client(file_path,output_dir)
elif file_path.endswith('.xls') or file_path.endswith('.xlsx'):
res = excel_ocr.parse(file_path, output_dir)
elif file_path.endswith('.ofd'):
res = ofd_ocr.parse_ofd(config_path,file_path,output_dir)
res = ofd_ocr.parse_ofd(file_path,output_dir)
end = time.time()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment