使用 Camelot 从 PDF 中提取时缺少某些表格

问题描述

我尝试使用以下代码从多页多表 PDF 中提取表数据

import camelot
tables = camelot.read_pdf('InputPDF.pdf',flavor='stream',multiple_tables=True,pages='all')
tables.export('foo1.csv',f='csv',compress=True)  # json,excel,html

enter image description here

但第 2 页中的 4,5 表未提取。其他页面正确提取的同类型表格

附上我试过的PDF文件图片

没有显示错误

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)