How can MinerU be used?
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.Morbi adipiscing gravdio, sit amet suscipit risus ultrices eu.Fusce viverra neque at purus laoreet consequa.Vivamus vulputate posuere nisl quis consequat.
Answers ( 1 )
MinerU can be used via command line or Python API. The command-line usage involves the `magic-pdf` command with options for input path, output directory, method (OCR, text, auto), language, debug mode, and start and end pages. The Python API uses the `magic_pdf` library to process PDF, MS-Office, and image files, generating Markdown and JSON outputs.