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

图片解析 #1390

Closed
yyxg opened this issue Jan 2, 2025 · 1 comment
Closed

图片解析 #1390

yyxg opened this issue Jan 2, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@yyxg
Copy link

yyxg commented Jan 2, 2025

Description of the bug | 错误描述

示例:https://www.modelscope.cn/studios/OpenDataLab/MinerU
可以上传图片并解析,这个图片解析的接口代码在哪?

How to reproduce the bug | 如何复现

https://www.modelscope.cn/studios/OpenDataLab/MinerU

Operating system | 操作系统

MacOS

Python version | Python 版本

3.10

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

0.10.x

Device mode | 设备模式

cpu

@yyxg yyxg added the bug Something isn't working label Jan 2, 2025
@myhloli
Copy link
Collaborator

myhloli commented Jan 5, 2025

在线demo的图片解析功能是在gradio中实现的,代码可以参考:

def to_pdf(file_path):

@myhloli myhloli closed this as completed Jan 5, 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