2.17 增加读文件pdf接口测试1
This commit is contained in:
parent
e80be4aa9c
commit
043a4dd950
@ -76,7 +76,8 @@ def process_pages(get_text, common_header, total_pages):
|
||||
return start_page, end_page
|
||||
|
||||
def read_pdf_main(pdf_path):
|
||||
common_header=extract_common_header(pdf_path)
|
||||
# common_header=extract_common_header(pdf_path)
|
||||
common_header=""
|
||||
try:
|
||||
with open(pdf_path, "rb") as f:
|
||||
pdf_document = PdfReader(f)
|
||||
|
Loading…
x
Reference in New Issue
Block a user