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

web_demo性能问题 #715

Open
bojiw opened this issue Oct 10, 2024 · 0 comments
Open

web_demo性能问题 #715

bojiw opened this issue Oct 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bojiw
Copy link

bojiw commented Oct 10, 2024

Description of the bug | 错误描述

目前发现当pdf里表格图片的时候 下面的正则表达式会导致一直搜索没有返回结果
projects/web_demo/web_demo/api/analysis/pdf_ext.py
regex = re.compile(fr'.((.?{img_name})')
regex_result = regex.search(md_content)

How to reproduce the bug | 如何复现

开启表格识别 启动web_demo 网页上传附件
《混凝土结构设计规范(2024年版)》GB T 50010-2010.pdf

Operating system | 操作系统

Linux

Python version | Python 版本

3.11

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

0.8.x

Device mode | 设备模式

cuda

@bojiw bojiw added the bug Something isn't working label Oct 10, 2024
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

1 participant