1. 02 Aug, 2024 4 commits
    • myhloli's avatar
      docs: update model download instructions and CUDA acceleration setup · 3ef4d054
      myhloli authored
      Update the documentation to reflect the latest model download procedures, emphasis on
      model file integrity checks, and expanded instructions for setting up CUDA accelerationon Ubuntu and Windows environments. The README files for various OS have been
      enhanced with additional details to assist users in configuring and verifying their
      environments for optimal performance.
      3ef4d054
    • myhloli's avatar
      docs(zh-CN): update installation guide for magic-pdf · 1c5b42e0
      myhloli authored
      Update the Chinese documentation to include detailed steps for installingmagic-pdf using CPU and GPU. These updates clarify the process for end
      users, addressing common issues such as configuration file placement and
      model weight file downloads. The documentation now provides users with
      direct links and version validation steps to ensure a smoother installation
      experience.
      1c5b42e0
    • Kaiwen Liu's avatar
      feat(model inference): add table recognition and conversion to LaTeX (#284) · 37925f36
      Kaiwen Liu authored
      * # add table recognition using struct-eqtable
      ## Changelog
      31/07/20204
      - Support table recognition. Table images will be converted into html.
      
      ### how to use the new feature:
      set the attribute 'table-mode' to 'true' in magic-pdf.json
      
      ### caution:
      it takes 200s to 500s to convert a single table image using cpu
      
      * # add table recognition using struct-eqtable
      ## Changelog
      31/07/20204
      - Support table recognition. Table images will be converted into LaTex.
      
      ### how to use the new feature:
      set the attribute 'table-mode' to 'true' in magic-pdf.json
      
      ### caution:
      it takes 200s to 500s to convert a single table image using cpu
      
      * # feat(model inference): add table recognition and convertion to LaTeX
      
      # What's Changed
      
      ### New Features
      
      - Add table content recognition, we use weights of [StructEqTable](https://github.com/UniModal4Reasoning/StructEqTable-Deploy) to convert table image to LaTex.
      
      ### Instruction
      
      - pip install pypandoc struct-eqtable==0.1.0
      - Download [StructEqTable weights](https://huggingface.co/wanderkid/PDF-Extract-Kit/tree/main/models/TabRec) and put it under models/ directory.
      - Edit 'table-mode' value to turn on table recognition function which is turned off by default.
      - If you did not download any models before, refer to [how to download models](docs/how_to_download_models_zh_cn.md)。
      
      * add table recognition and convertion to LaTeX
      
      * add table recognition and conversion to LaTeX
      
      * add table recognition and conversion to LaTeX
      
      * add table recognition and conversion to LaTeX
      
      ---------
      Co-authored-by: 's avatarliukaiwen <liukaiwen@pjlab.org.cn>
      37925f36
    • myhloli's avatar
      docs(output-file): correct poly coordinate format and update table descriptions · 41737adf
      myhloli authored
      - Fix the description of the 'poly' coordinate format in the output file documentation to correctly reflect the order of coordinates: left-top, right-top, right-bottom,
        left-bottom.
      - Update various table-related descriptions for clarity and consistency, including
        field names and their corresponding explanations.
      - Add version name field description in 'middle.json' structure to document the
        version of the magic-pdf used in the parsing process.
      - Refactor the block and line description tables to improve readability and alignment
        with the rest of the documentation.
      41737adf
  2. 01 Aug, 2024 21 commits
  3. 31 Jul, 2024 14 commits
    • Xiaomeng Zhao's avatar
      Update README_zh-CN.md · 5e8d149f
      Xiaomeng Zhao authored
      5e8d149f
    • myhloli's avatar
      docs(readme): update PyTorch installation guide for CUDA 11.8 · 13d30a4f
      myhloli authored
      Update the PyTorch installation command in the README files for both English and Chinese
      versions to reflect the required version compatibility with CUDA 11.8. Include explicit
      instructions to specify the PyTorch version to avoid automatic installation of higher,
      unsupported versions. Additionally, clarify the importance of modifying the "device-mode"
      parameter in the magic-pdf.json configuration file for proper CUDA device selection.
      13d30a4f
    • myhloli's avatar
      fix(readme): specify supported PyTorch versions in install guide · fd60393d
      myhloli authored
      Update the PyTorch installation guide in both English and Chinese READMEs to explicitly
      recommend using torch==2.3.1 and torchvision==0.18.1 for CUDA 11.8. Emphasize the
      importance of specifying these versions to avoid compatibility issues with higher,
      unsupported versions.
      fd60393d
    • myhloli's avatar
      docs(readme): add notice for pre-release version 0.6.2b1 · 6dbb4197
      myhloli authored
      A pre-release version0.6.2b1 of magic-pdf is now available. This version includes
      many fixes addressed in our logs but has not undergone full QA testing. Users are
      advised to report any issues encountered or revert to version 0.6.1. The installationguides in both Japanese and Chinese READMEs have been updated to reflect the availability
      of this pre-release version and the previous stable version.
      
      BREAKING CHANGE: Installation commands now point to version 0.6.2b1 by default.
      Users who wish to install the stable version 0.6.1 should follow the provided
      command instead.
      6dbb4197
    • myhloli's avatar
      docs(readme): update install command and add beta version notice · 891a9741
      myhloli authored
      - Change the pip install command in README_zh-CN.md to reflect the new version 0.6.2b1.
      - Include a notice about the pre-release of version 0.6.2beta, cautioning users about its未经完整QA测试的状态,并提供回退到0.6.1版本的指导。
      - Verify the installed version with `magic-pdf --version` after installation to ensure
       the correct version is installed, addressing feedback about incorrect versions due to
       mirror source and dependency conflicts.
      891a9741
    • xuchao's avatar
      update discord link · cfcb1f47
      xuchao authored
      cfcb1f47
    • myhloli's avatar
      feat(readme): add beta release note for 0.6.2b1 · aa768fcc
      myhloli authored
      We have pre-released the 0.6.2 beta version, which addresses numerous issues
      reported in our logs. This commit updates the installation guide in the README to
      include information on how to install this beta version. Users are advised that
      this build has not undergone full QA testing and may contain issues. A
      revert instruction to version 0.6.1 is also provided for users who encounter
      problems.
      
      BREAKING CHANGE: Installation instructions now include beta version
      information. Users should be aware of potential issues with the0.6.2 beta
      version and consider reverting to 0.6.1 if necessary.
      aa768fcc
    • myhloli's avatar
      Merge remote-tracking branch 'origin/master' · c05d37dd
      myhloli authored
      c05d37dd
    • myhloli's avatar
    • myhloli's avatar
      Update version.py with new version · c88ba5df
      myhloli authored
      c88ba5df
    • myhloli's avatar
      Merge remote-tracking branch 'origin/master' · 3aec9c61
      myhloli authored
      3aec9c61
    • myhloli's avatar
      docs: add installation guide for git lfs on various platforms · 808563ce
      myhloli authored
      Add detailed instructions for installing git lfs on Linux, macOS, and Windows
      to facilitate users in downloading models from ModelScope repository. The guide
      is included in the `how_to_download_models_zh_cn.md` document.
      808563ce
    • github-actions[bot]'s avatar
    • Richard Li's avatar
      Update how_to_download_models_zh_cn.md · b7cd875f
      Richard Li authored
      use git lfs clone to download model from ModelScope
      b7cd875f
  4. 30 Jul, 2024 1 commit