Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
5c8f6b84
Unverified
Commit
5c8f6b84
authored
Jun 13, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Jun 13, 2025
Browse files
Merge pull request #2636 from opendatalab/dev
update docs
parents
be80200a
52537958
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
86 deletions
+64
-86
README.md
README.md
+31
-41
README_zh-CN.md
README_zh-CN.md
+32
-43
mineru/cli/models_download.py
mineru/cli/models_download.py
+1
-2
No files found.
README.md
View file @
5c8f6b84
...
@@ -347,48 +347,38 @@ Easier to use: Just grab MinerU Desktop. No coding, no login, just a simple inte
...
@@ -347,48 +347,38 @@ Easier to use: Just grab MinerU Desktop. No coding, no login, just a simple inte
<details>
<details>
<summary>
2024/07/05 Initial open-source release
</summary>
<summary>
2024/07/05 Initial open-source release
</summary>
</details>
</details>
</details>
<!-- TABLE OF CONTENT -->
<!-- TABLE OF CONTENT -->
<details
open=
"open"
>
<summary><h2
style=
"display: inline-block"
>
Table of Contents
</h2></summary>
<details
open=
"open"
>
<ol>
<summary><h2
style=
"display: inline-block"
>
Table of Contents
</h2></summary>
<li>
<ol>
<a
href=
"#mineru"
>
MinerU
</a>
<li>
<ul>
<a
href=
"#mineru"
>
MinerU
</a>
<li><a
href=
"#project-introduction"
>
Project Introduction
</a></li>
<ul>
<li><a
href=
"#key-features"
>
Key Features
</a></li>
<li><a
href=
"#project-introduction"
>
Project Introduction
</a></li>
<li><a
href=
"#quick-start"
>
Quick Start
</a>
<li><a
href=
"#key-features"
>
Key Features
</a></li>
<ul>
<li><a
href=
"#quick-start"
>
Quick Start
</a>
<li><a
href=
"#online-demo"
>
Online Demo
</a></li>
<ul>
<li><a
href=
"#quick-cpu-demo"
>
Local Deployment
</a></li>
<li><a
href=
"#online-demo"
>
Online Demo
</a></li>
</ul>
<li><a
href=
"#quick-cpu-demo"
>
Quick CPU Demo
</a></li>
</li>
<li><a
href=
"#using-gpu"
>
Using GPU
</a></li>
</ul>
<li><a
href=
"#using-npu"
>
Using NPU
</a></li>
</li>
</ul>
<li><a
href=
"#todo"
>
TODO
</a></li>
</li>
<li><a
href=
"#known-issues"
>
Known Issues
</a></li>
<li><a
href=
"#usage"
>
Usage
</a>
<li><a
href=
"#faq"
>
FAQ
</a></li>
<ul>
<li><a
href=
"#all-thanks-to-our-contributors"
>
All Thanks To Our Contributors
</a></li>
<li><a
href=
"#command-line"
>
Command Line
</a></li>
<li><a
href=
"#license-information"
>
License Information
</a></li>
<li><a
href=
"#api"
>
API
</a></li>
<li><a
href=
"#acknowledgments"
>
Acknowledgments
</a></li>
<li><a
href=
"#deploy-derived-projects"
>
Deploy Derived Projects
</a></li>
<li><a
href=
"#citation"
>
Citation
</a></li>
<li><a
href=
"#development-guide"
>
Development Guide
</a></li>
<li><a
href=
"#star-history"
>
Star History
</a></li>
</ul>
<li><a
href=
"#magic-doc"
>
Magic-doc
</a></li>
</li>
<li><a
href=
"#magic-html"
>
Magic-html
</a></li>
</ul>
<li><a
href=
"#links"
>
Links
</a></li>
</li>
</ol>
<li><a
href=
"#todo"
>
TODO
</a></li>
<li><a
href=
"#known-issues"
>
Known Issues
</a></li>
<li><a
href=
"#faq"
>
FAQ
</a></li>
<li><a
href=
"#all-thanks-to-our-contributors"
>
All Thanks To Our Contributors
</a></li>
<li><a
href=
"#license-information"
>
License Information
</a></li>
<li><a
href=
"#acknowledgments"
>
Acknowledgments
</a></li>
<li><a
href=
"#citation"
>
Citation
</a></li>
<li><a
href=
"#star-history"
>
Star History
</a></li>
<li><a
href=
"#magic-doc"
>
Magic-doc
</a></li>
<li><a
href=
"#magic-html"
>
Magic-html
</a></li>
<li><a
href=
"#links"
>
Links
</a></li>
</ol>
</details>
</details>
</details>
# MinerU
# MinerU
...
...
README_zh-CN.md
View file @
5c8f6b84
...
@@ -336,49 +336,38 @@
...
@@ -336,49 +336,38 @@
<details>
<details>
<summary>
2024/07/05 首次开源
</summary>
<summary>
2024/07/05 首次开源
</summary>
</details>
</details>
</details>
<!-- TABLE OF CONTENT -->
<!-- TABLE OF CONTENT -->
<details
open=
"open"
>
<summary><h2
style=
"display: inline-block"
>
文档目录
</h2></summary>
<details
open=
"open"
>
<ol>
<summary><h2
style=
"display: inline-block"
>
文档目录
</h2></summary>
<li>
<ol>
<a
href=
"#mineru"
>
MinerU
</a>
<li>
<ul>
<a
href=
"#mineru"
>
MinerU
</a>
<li><a
href=
"#项目简介"
>
项目简介
</a></li>
<ul>
<li><a
href=
"#主要功能"
>
主要功能
</a></li>
<li><a
href=
"#项目简介"
>
项目简介
</a></li>
<li><a
href=
"#快速开始"
>
快速开始
</a>
<li><a
href=
"#主要功能"
>
主要功能
</a></li>
<ul>
<li><a
href=
"#快速开始"
>
快速开始
</a>
<li><a
href=
"#在线体验"
>
在线体验
</a></li>
<ul>
<li><a
href=
"#使用CPU快速体验"
>
使用CPU快速体验
</a></li>
<li><a
href=
"#在线体验"
>
在线体验
</a></li>
<li><a
href=
"#使用GPU"
>
使用GPU
</a></li>
<li><a
href=
"#本地部署"
>
本地部署
</a></li>
<li><a
href=
"#使用NPU"
>
使用NPU
</a></li>
</ul>
</ul>
</ul>
</li>
</li>
<li><a
href=
"#使用"
>
使用方式
</a>
<li><a
href=
"#todo"
>
TODO
</a></li>
<ul>
<li><a
href=
"#known-issues"
>
Known Issues
</a></li>
<li><a
href=
"#命令行"
>
命令行
</a></li>
<li><a
href=
"#faq"
>
FAQ
</a></li>
<li><a
href=
"#api"
>
API
</a></li>
<li><a
href=
"#all-thanks-to-our-contributors"
>
Contributors
</a></li>
<li><a
href=
"#部署衍生项目"
>
部署衍生项目
</a></li>
<li><a
href=
"#license-information"
>
License Information
</a></li>
<li><a
href=
"#二次开发"
>
二次开发
</a></li>
<li><a
href=
"#acknowledgments"
>
Acknowledgements
</a></li>
</ul>
<li><a
href=
"#citation"
>
Citation
</a></li>
</li>
<li><a
href=
"#star-history"
>
Star History
</a></li>
</ul>
<li><a
href=
"#magic-doc"
>
magic-doc快速提取PPT/DOC/PDF
</a></li>
</li>
<li><a
href=
"#magic-html"
>
magic-html提取混合网页内容
</a></li>
<li><a
href=
"#todo"
>
TODO
</a></li>
<li><a
href=
"#links"
>
Links
</a></li>
<li><a
href=
"#known-issues"
>
Known Issues
</a></li>
</ol>
<li><a
href=
"#faq"
>
FAQ
</a></li>
<li><a
href=
"#all-thanks-to-our-contributors"
>
Contributors
</a></li>
<li><a
href=
"#license-information"
>
License Information
</a></li>
<li><a
href=
"#acknowledgments"
>
Acknowledgements
</a></li>
<li><a
href=
"#citation"
>
Citation
</a></li>
<li><a
href=
"#star-history"
>
Star History
</a></li>
<li><a
href=
"#magic-doc"
>
magic-doc快速提取PPT/DOC/PDF
</a></li>
<li><a
href=
"#magic-html"
>
magic-html提取混合网页内容
</a></li>
<li><a
href=
"#links"
>
Links
</a></li>
</ol>
</details>
</details>
</details>
...
...
mineru/cli/models_download.py
View file @
5c8f6b84
...
@@ -42,8 +42,7 @@ def download_and_modify_json(url, local_filename, modifications):
...
@@ -42,8 +42,7 @@ def download_and_modify_json(url, local_filename, modifications):
def
configure_model
(
model_dir
,
model_type
):
def
configure_model
(
model_dir
,
model_type
):
"""配置模型"""
"""配置模型"""
# json_url = 'https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/mineru.template.json'
json_url
=
'https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/mineru.template.json'
json_url
=
'https://gcore.jsdelivr.net/gh/myhloli/Magic-PDF@dev/mineru.template.json'
config_file_name
=
'mineru.json'
config_file_name
=
'mineru.json'
home_dir
=
os
.
path
.
expanduser
(
'~'
)
home_dir
=
os
.
path
.
expanduser
(
'~'
)
config_file
=
os
.
path
.
join
(
home_dir
,
config_file_name
)
config_file
=
os
.
path
.
join
(
home_dir
,
config_file_name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment