Answers ( 1 )

    0
    2025-03-28T03:04:56+00:00

    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.

Leave an answer