We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from magic_doc.docconv import DocConverter, S3Config, ParsePDFType converter = DocConverter(s3_config=None, parse_pdf_type=ParsePDFType.FULL) markdown_content, _ = converter.convert("reimbursement.pdf", conv_timeout=300) print(markdown_content) 运行上述代码的时候 会报缺少依赖 如果不适用full的话 就不会
The text was updated successfully, but these errors were encountered:
you can change the parse_pdf_type to ParsePDFType.FAST . the function of ParsePDFType.FULL have moved to MinerU https://github.com/opendatalab/MinerU
parse_pdf_type
ParsePDFType.FAST
ParsePDFType.FULL
https://github.com/opendatalab/MinerU
Sorry, something went wrong.
No branches or pull requests
for local file
from magic_doc.docconv import DocConverter, S3Config, ParsePDFType
converter = DocConverter(s3_config=None, parse_pdf_type=ParsePDFType.FULL)
markdown_content, _ = converter.convert("reimbursement.pdf", conv_timeout=300)
print(markdown_content)
运行上述代码的时候 会报缺少依赖 如果不适用full的话 就不会
The text was updated successfully, but these errors were encountered: