marker pdf 转 markdown

pip install marker-pdf

marker_single 11.pdf --output_dir ./mkd

Loaded layout model datalab-to/surya_layout on device cpu with dtype torch.float32
Loaded texify model datalab-to/texify on device cpu with dtype torch.float32
Loaded recognition model vikp/surya_rec2 on device cpu with dtype torch.float32
Loaded table recognition model datalab-to/surya_tablerec on device cpu with dtype torch.float32
Loaded detection model vikp/surya_det3 on device cpu with dtype torch.float32
Loaded detection model datalab-to/inline_math_det0 on device cpu with dtype torch.float32
Recognizing layout:  33%
Recognizing layout:  67%
Recognizing layout: 100%
Recognizing layout: 100%
 3/3 [00:23<00:00,  7.74s/it]
Running OCR Error Detection:  25%
Running OCR Error Detection:  50%
Running OCR Error Detection:  75%
Running OCR Error Detection: 100%
Running OCR Error Detection: 100%
4/4 [00:02<00:00,  1.47it/s]
Detecting bboxes: 0it [00:00, ?it/s]
Detecting bboxes: 0it [00:00, ?it/s]
Recognizing tables:
Recognizing tables: 100%
Recognizing tables: 100%
 2/2 [00:15<00:00,  7.64s/it]
Saved markdown to ./mkd/11
Total time: 44.10177683830261
 

第一次运行,会下载近1G的资料。 转换一个14页的简单试卷,需要 44s

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值