text
stringlengths
0
3.47k
1,
1,
1,
2,
0,
2,
1,
1,
1,
1,
1,
1,
0,
1,
0,
0,
1,
1,
2,
0,
0,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"junk_img_bojids": [],
"invalid_chars": true,
"metadata": {
"format": "PDF 1.5",
"title": "Titelei 1..4",
"author": "",
"subject": "",
"keywords": "",
"creator": "3B2 Total Publishing System 7.51d/W",
"producer": "Acrobat Distiller 5.0 (Windows)",
"creationDate": "D:20040701185454-04'00'",
"modDate": "D:20040701185713-04'00'",
"trapped": "",
"encryption": null
}
}
Classify parameters:
total_page (expected: int): 236
page_width (expected: int): 482
page_height (expected: int): 680
img_sz_list (expected: list of lists): [[], [], [], [], []]...
text_len_list (expected: list of ints): [244, 585, 79, 1849, 1439]...
img_num_list (expected: list of ints): [0, 0, 0, 0, 0]...
text_layout_list (expected: list of strs): ['horizontal', 'horizontal', 'horizontal', 'horizontal', 'horizontal']...
invalid_chars (expected: bool): True
Classification Results:
is_text_pdf (expected: bool): True
classification_results (expected: dict): {'by_image_area': True, 'by_text_len': True, 'by_avg_words': True, 'by_img_num': True, 'by_text_layout': True, 'by_img_narrow_strips': True, 'by_invalid_chars': True}
Image writer initialized: <magic_pdf.rw.DiskReaderWriter.DiskReaderWriter object at 0x7f0834d985d0>
UNIPipe initialized: <magic_pdf.pipe.UNIPipe.UNIPipe object at 0x7f08352e85d0>
Processing PDF: input/f2f24088a4ac947b8f3b29ace552cb90.pdf
Metadata (expected: dict): {
"is_needs_password": 0,
"is_encrypted": false,
"total_page": 599,
"page_width_pts": 441,
"page_height_pts": 666,
"image_info_per_page": [
[],
[
[
52,
606,
162,
636,
13
]
],
[],
[],
[],