Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discarded_blocks的内容为空 #1893

Closed
duanyu opened this issue Mar 11, 2025 · 1 comment
Closed

discarded_blocks的内容为空 #1893

duanyu opened this issue Mar 11, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@duanyu
Copy link

duanyu commented Mar 11, 2025

Description of the bug | 错误描述

升级到1.2.2版MinerU后,查看middle_json,发现discarded_blocks里面只有bbox,lines字段内容为空,这会导致无法恢复页眉、页脚、注释等内容。

预期效果:discarded_blocks的lines字段有内容。

p.s. 1.0.1版MinerU是没有这个问题的。

How to reproduce the bug | 如何复现

升级到1.2.2版MinerU,选一个有页码、脚注的pdf便能复现。

Operating system | 操作系统

MacOS

Python version | Python 版本

3.10

Software version | 软件版本 (magic-pdf --version)

1.0.x

Device mode | 设备模式

cpu

@myhloli
Copy link
Collaborator

myhloli commented Mar 11, 2025

fixed at #1894

@myhloli myhloli closed this as completed Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants