- 05 Aug, 2024 5 commits
-
-
myhloli authored
Update the download links for Anaconda in both Ubuntu and Windows CUDA Acceleration documents to use the Tuna mirror. This change helps ensure that users in China have faster access to the Anaconda distribution.
-
Xiaomeng Zhao authored
[fix bug] table recognition bug fixed#321
-
liukaiwen authored
-
liukaiwen authored
-
liukaiwen authored
# Conflicts: # docs/how_to_download_models_zh_cn.md
-
- 04 Aug, 2024 5 commits
-
-
myhloli authored
-
myhloli authored
If 'table-config' is not present in the configuration file, the table recognition feature will default to being disabled to ensure consistent behavior. This change adds a warning log and sets a default configuration for table recognition when the expected config is missing.
-
myhloli authored
Ensure proper formatting of inline equations by adding spaces outside the equation delimitersto prevent markdown from interpreting the equation content as part of a link. This addresses the issue where inline OCR equations appear without the correct markdown formatting.
-
myhloli authored
The restriction on the matplotlib version has been updated to only apply on Windows platforms, where precompiled packages are not available starting from version 3.9.1. This change enables users on Linux and macOS to install newer versions of matplotlib, addressing compatibility issues with recent bug fixes.
-
myhloli authored
fix(dependencies): remove unnecessary pypandoc and struct-eqtable packages;fix matplotlib>=3.9.1 not support Windows system without compilation environment.
-
- 02 Aug, 2024 15 commits
-
-
myhloli authored
Update the README documents to clarify that the "models-dir" in the configuration should be an absolute path. Also, provide additional guidance for Windows users on how to correctly format the path to avoid common issues with path escaping in JSON files.
-
myhloli authored
Add instructions to download the magic-pdf.template.json file using wget on Ubuntu and a PowerShell script on Windows in the respective README files. This is to facilitate the setup process by providing direct download options, replacing manual file transfers.
-
sfk authored
add demo url
-
myhloli authored
Add a note in the README_zh-CN_v2.md to clarify the availability of GPU acceleration for devices supporting CUDA, directing users to specific tutorials based on their operating system.
-
myhloli authored
Update the install commands in both Ubuntu and Windows CUDA Acceleration guides to specify Magic-PDF version 0.6.2b1, ensuring consistency andavoiding potential version mismatches.
-
myhloli authored
Update the FAQ to clarify the dependency installation issue when using magic-pdf. Ensure users are directed to install the specific version of magic-pdf that resolves the dependency error, rather than listing all individual dependencies. This simplifies the troubleshooting process and provides a direct solution for users encountering the "Required dependency not installed" error.
-
myhloli authored
Update the download methods for models in the Chinese documentation to reflect the latest options available from ModelScope. Simplify the section titles and revise download instructions for clarity and consistency.
-
myhloli authored
-
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.
-
xuchao authored
-
xuchao authored
-
xuchao authored
-
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.
-
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:
liukaiwen <liukaiwen@pjlab.org.cn>
-
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.
-
- 01 Aug, 2024 15 commits
-
-
icecraft authored
* feat: remove dummpy code, magic_pdf/cli, magic_pdf/train_utils * feat: expose version in command line --------- Co-authored-by:
shenguanlin <shenguanlin@pjlab.org.cn>
-
myhloli authored
- Adjust command installation format for PaddlePaddle GPU. - Clarify instruction numbering for testing OCR acceleration.
-
myhloli authored
Update the Ubuntu CUDA Acceleration setup guide to reflect the correct user directory path and improve the clarity of instructions. Remove references to Windows and macOS as they are out of scope for this document. Ensure the configuration file copying command is correctly represented for Linux users.
-
myhloli authored
Update the link to the magic-pdf.template.json configuration template file in the README_Ubuntu_CUDA_Acceleration_zh_CN.md document. The file path was previously incorrect and has been amended to point to the correct location.
-
myhloli authored
Update the instruction in README_Ubuntu_CUDA_Acceleration_zh_CN.md to reference the correct section number for downloading the model weights. This change ensures that users are directed to the correct location in the document for setting up the model directory in the magic-pdf.json configuration.
-
myhloli authored
-
myhloli authored
docs: update Ubuntu CUDA acceleration guide for version 0.6.2- Add steps for Ubuntu 22.04 LTS installation. - Detail the process of checking, installing, and configuring NVIDIA drivers. - Include instructions for installing Anaconda and creating a specific environment. - Provide guidance on installing magic-pdf and its dependencies. - Add a note to verify magic-pdf version and report issues if necessary. - Describe the process of downloading models and configuring the application. - Include a sample command to run the application with CUDA acceleration. - Add a note for enabling OCR CUDA acceleration with specific GPU requirements. This update ensures users have the latest information for setting up CUDA accelerationwith magic-pdf on Ubuntu 22.04 LTS, specifically for version 0.6.2, and provides clearer instructions on the installation and configuration process.
-
xuchao authored
-
xuchao authored
-
myhloli authored
-
myhloli authored
-
myhloli authored
Restructured the how-to download models document for better clarity and added sections on downloading models from ModelScope, including SDK and Git download methods. Provided detailed steps for installing Git LFS and checking model integrity after download. Also included recommendations for moving the models to an SSD for better performance.
-
icecraft authored
* feat: refractor cli command * feat: add docs to describe the output files of cli * feat: resove review comments * feat: updat docs about middle.json --------- Co-authored-by:
shenguanlin <shenguanlin@pjlab.org.cn>
-
xuchao authored
-
liukaiwen authored
-