This commit is contained in:
ari committed 2019-12-11 22:16:28 -05:00
1 parent 36a9371657
commit 152d3aaf55
13 files changed
+35 -12

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ NUM_LOOPS = 10
def count_elms(file_path: str):
count = 0
for page in PDFInterpreter(file_path):
for page in PDFInterpreter(file_path, ignore_bad_chars=True):
for item in page:
if isinstance(item, LTContainer):
count += len([*item])