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

layout识别错位 #1020

Open
FHhui opened this issue Nov 19, 2024 · 3 comments
Open

layout识别错位 #1020

FHhui opened this issue Nov 19, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@FHhui
Copy link

FHhui commented Nov 19, 2024

Description of the bug | 错误描述

微信图片_20241119102810

How to reproduce the bug | 如何复现

《中国药典》2020年版 一部0912-69.pdf

Operating system | 操作系统

Linux

Python version | Python 版本

3.10

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

0.9.x

Device mode | 设备模式

cuda

@FHhui FHhui added the bug Something isn't working label Nov 19, 2024
@myhloli
Copy link
Collaborator

myhloli commented Nov 19, 2024

扫描书有90度旋转,可视化的时候框画不准,但是不影响正常解析

@FHhui
Copy link
Author

FHhui commented Nov 19, 2024

扫描书有90度旋转,可视化的时候框画不准,但是不影响正常解析
那应该怎么让框画准呢

@myhloli
Copy link
Collaborator

myhloli commented Nov 19, 2024

试着画框的时候把坐标调过,不过画出来还是不准,可能是pymupdf库本身在画框的时候对旋转页面做过处理但是又没处理对的样子

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