text
stringlengths
0
3.47k
Classify parameters:
total_page (expected: int): 582
page_width (expected: int): 415
page_height (expected: int): 637
img_sz_list (expected: list of lists): [[[0, 0, 449, 682, 1752]], [], [], [], []]...
text_len_list (expected: list of ints): [0, 91, 74, 48, 1713]...
img_num_list (expected: list of ints): [1, 0, 0, 0, 0]...
text_layout_list (expected: list of strs): ['unknow', '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 0x7fbe07d46810>
UNIPipe initialized: <magic_pdf.pipe.UNIPipe.UNIPipe object at 0x7fbe07c5bdd0>
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
]
],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
],
"text_len_per_page": [
41,
124,
1516,
1091,
1091,
2162,
3130,
3181,
3137,
3163,
3164,
3092,
3182,
3101,
3177,
3185,
3156,
3055,