- 09 Aug, 2024 6 commits
-
-
xuchao authored
-
xuchao authored
-
Xiaomeng Zhao authored
fix&refactor(pdf-extract-kit): table recognition and ocr
-
myhloli authored
fix(pdf-extract-kit): ensure table extraction success with additional ending conditionAdd an additional condition to determine the success of table extraction by checking if the latex_code ends with 'end{table}'. This extends the validation to cover table environments that may not strictly end with 'end{tabular}', thus improving the robustnessof table recognition processing.
-
myhloli authored
refactor(pdf_extract_kit): optimize image processing and table recognition logicRefactor the image processing logic for OCR and table recognition to ensure consistency and improve performance. Remove redundant initialization of PIL images, unify image cropping logic, and streamline the handling of formula detection results. Also, adjust the table recognition process to improve integration with the updated image processing logic and enhance overall efficiency.
-
icecraft authored
Co-authored-by:
shenguanlin <shenguanlin@pjlab.org.cn>
-
- 08 Aug, 2024 2 commits
- 07 Aug, 2024 11 commits
-
-
github-actions[bot] authored
-
Xiaomeng Zhao authored
feat: add table recognition success detect
-
liukaiwen authored
-
liukaiwen authored
-
myhloli authored
Add an exclamation mark to the section title to stress the importance of completing the additional steps after downloading a model. This change is made in the Chinese documentation to ensure users are aware of the necessary post-download actions.
-
myhloli authored
Adjust the print statement in the how_to_download_models_zh_cn.md guide to reflect the correct model download location. The path has been updated to specify the 'models' directory where the model is actually downloaded.
-
Xiaomeng Zhao authored
feat: add table recognition success detect
-
liukaiwen authored
-
liukaiwen authored
-
赵小蒙 authored
Add a print statement to the example code in 'how_to_download_models_zh_cn.md' to output the downloaded model directory path. This enhancement aids users in locating the model files as it provides a clear indication of where they are saved on the user's file system.
-
myhloli authored
docs(readme): update acknowledgment section and project description- Streamline the Acknowledgments section in the README by removing redundant entries.- Clarify the project's current use of PyMuPDF and future plans for exploring a more permissively licensed PDF processing library in the project description. - Ensure all modifications adhere to the project's documentation standards and improve reader understanding.
-
- 06 Aug, 2024 10 commits
-
-
myhloli authored
docs(readme): update acknowledgment section and project description- Streamline the Acknowledgments section in the README by removing redundant entries.- Clarify the project's current use of PyMuPDF and future plans for exploring a more permissively licensed PDF processing library in the project description. - Ensure all modifications adhere to the project's documentation standards and improve reader understanding.
-
myhloli authored
docs(models-download): update steps and remove deprecated sectionsUpdate the model download instructions to reflect the current process, removing unnecessary sections and simplifying the steps. The updated guide now includesclearer instructions on installing Git LFS, downloading models from Hugging Face,and additional checks for model file completeness. This change ensures that the documentation is up-to-date and provides a streamlined experience for users downloading models.
-
myhloli authored
docs: correct path format description in Windows CUDA docsUpdate the instructions in the Windows CUDA Acceleration documentation toreflect the correct path format. Specifically, clarify that Windows paths should include the drive letter and replace backslashes with forward slashes.
-
myhloli authored
-
myhloli authored
Update the URLs for downloading the `magic-pdf.template.json` and `small_ocr.pdf` files in the Windows CUDA acceleration guides. The links now point to the giteerepository instead of GitHub, ensuring users have access to the necessary files from the correct source.
-
myhloli authored
- Streamline the installation process by removing the redundant apt update step. - Adjust the numbering of installation steps throughout the document. - Update download URLs to gitee for the configuration template and demo file. - Ensure consistency in the model directory configuration advice.
-
myhloli authored
Add a new README_Ubuntu_CUDA_Acceleration_en_US.md document to provide users with a setup guide for enabling and testing CUDA acceleration on Ubuntu 22.04 LTS. The guideincludes steps to check and install NVIDIA drivers, install Anaconda, create a conda environment, install required applications, download and verify models, configure theenvironment, and test CUDA acceleration. This addition addresses the need for clear, concise instructions on achieving better performance with CUDA-enabled graphics cards and
-
myhloli authored
- Note the fix in version 0.6.2b1 for the network error during the first run of offline deployment and clarify the model download requirement. - Update the dependency installation guide for users on macOS with Intel CPUs. - Indicate the resolution in version 0.6.2b1 for compatibility issues with paddlepaddle version 2.6.1 on certain Linux systems. This change aims to make the FAQ more informative and easier to navigate for users experiencing similar issues, providing direct solutions and links where applicable.
-
myhloli authored
docs: add conda install steps for environment setupAdd detailed steps on how to create a conda environment and activate it beforeproceeding with the pip installation of magic-pdf and required dependencies. This provides users with a clearer guide on setting up their environment.
-
myhloli authored
-
- 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 1 commit
-
-
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.
-