- 03 Apr, 2025 8 commits
-
-
Xiaomeng Zhao authored
docs(readme): update changelog and compatibility information
-
myhloli authored
- Update changelog for version 1.3.0 release - Clarify CUDA and GPU compatibility improvements - Add information about batch processing speed improvements - Update model download process and memory usage optimizations - Include link to batch processing demo script
-
Xiaomeng Zhao authored
feat(model): add tqdm progress bar to model prediction loops
-
myhloli authored
- Update table recognition logic to process each table individually - Refactor layout detection to use tqdm for progress tracking - Optimize OCR recognition by using a single tqdm wrapper - Improve MFR prediction with a more accurate progress bar - Simplify MFD prediction by removing unnecessary total calculation
-
myhloli authored
- Comment out OCR timing measurement code to improve readability and performance - Remove unnecessary logging of OCR processing time
-
myhloli authored
- Remove unused imports and comments - Increase MIN_BATCH_INFERENCE_SIZE from 100 to 200 - Comment out VRAM cleaning and logging in batch_analyze.py - Simplify code in doc_analyze_by_custom_model.py- Add tqdm progress bar in pdf_parse_union_core_v2.py - Enable tqdm in OCR processing
-
myhloli authored
- Remove outdated comments in table-config examples - Add tqdm to requirements in all Docker environments
-
myhloli authored
- Add tqdm progress bar to batch prediction loops in multiple model modules - Improve logging and error handling in batch analysis script - Update table model initialization to use default sub-model if none specified - Add tqdm dependency to requirements.txt
-
- 02 Apr, 2025 28 commits
-
-
Xiaomeng Zhao authored
feat(model): update Chinese OCR detection model to PP-OCRv3
-
myhloli authored
- Replace ch_PP-OCRv4_det_infer.pth with ch_PP-OCRv3_det_infer.pth in models_config.yml - Add new ch_PP-OCRv3_det_infer model configuration in arch_config.yaml
-
Xiaomeng Zhao authored
refactor(ocr): remove redundant code and improve code quality
-
myhloli authored
- Remove unnecessary GPU checks and cuda() calls - Consolidate tensor device placement using .to(self.device) - Add warning suppression for cleaner output - Refactor conditional logic for better readability
-
Xiaomeng Zhao authored
refactor(demo): simplify batch_demo.py and update demo.py
-
myhloli authored
- Remove unnecessary imports and code in batch_demo.py - Update demo.py to use relative paths and improve code structure - Adjust output directory structure in both scripts - Remove redundant code and simplify functions
-
Xiaomeng Zhao authored
feat: add batch example
-
icecraft authored
-
Xiaomeng Zhao authored
update released note
-
myhloli authored
- Add RapidOCR and PaddleOCR2Pytorch to the Acknowledgments list in README.md - Add RapidOCR and PaddleOCR2Pytorch to the Acknowledgments list in README_zh-CN.md
-
myhloli authored
- Installation and compatibility optimizations: - Replace PaddleOCR with paddleocr2torch to resolve conflicts between Paddle and PyTorch - Remove layoutlmv3 usage to solve compatibility issues with detectron2 - Extend PyTorch version compatibility to2.2~2.6 - Extend CUDA compatibility to 11.8~12.6 - Extend Python version compatibility to 3.10~3.12 - Performance optimizations: - Support batch processing for multiple PDF files - Optimize mfr model loading and usage to reduce memory consumption and improve speed - Reduce minimum memory requirement to 6GB - Improve running speed on MPS devices - Parsing effect optimization: - Update mfr model to unimernet(2503) to fix line break issues in multi-line formulas
-
Xiaomeng Zhao authored
update docs
-
myhloli authored
- Update CUDA version requirements to12.4 - Recommend nvidia-driver-570-server for Ubuntu - Remove Python version specification for conda environment - Update magic-pdf version requirement to 1.3.0 - Simplify CUDA acceleration testing instructions - Remove OCR acceleration with paddlepaddle-gpu - Update torch and torchvision installation instructions for Windows
-
myhloli authored
- Update Python version requirement to 3.10-3.12 - Expand CUDA environment options to 11.8/12.4/12.6 - Update GPU VRAM requirement to 6GB or more -
-
Xiaomeng Zhao authored
feat: support 3.10~3.12 & remove paddle
-
myhloli authored
- Update matplotlib minimum version to 3.10 for Linux and MacOS - Specify version ranges for PyYAML, ftfy, openai, shapely, pyclipper, and omegaconf - Update dill to version <1 for compatibility
-
myhloli authored
- Update PyMuPDF to version <1.25.0 - Update pydantic to version <2.11 - Update transformers to version < 5.0.0 - Remove always_apply parameter from alb.ToGray in image processing
-
myhloli authored
- Update the default configuration path in pytorchocr_utility.py - Add required dependencies for paddleocr2pytorch in setup.py: - shapely - pyclipper - omegaconf
-
myhloli authored
- Remove unused UniMERNet and LayoutLMv3 model configurations - Update OCR model path and dictionary path for PaddleOCR - Modify README to update system requirements and installation instructions - Update setup.py to include new package data
-
myhloli authored
- Remove unused imports for concurrent.futures, multiprocessing, and paddle - Delete commented-out code - Update numpy dependency to remove upper version limit - Remove InferenceResult import that was commented out
-
myhloli authored
- Remove paddleocr, paddlepaddle, rapidocr-paddle, and rapidocr-onnxruntime from requirements.txt files - Simplify pip install commands in Dockerfiles - Remove installation of paddlepaddle-gpu in china and global Dockerfiles - Update requirements.txt files across all Docker configurations
-
myhloli authored
- Commented out the code that copies the paddleocr model to user directory - This change affects both download_models.py and download_models_hf.py scripts
-
myhloli authored
- Update download_models.py and download_models_hf.py scripts - Change OCR model path from paddleocr to paddleocr_torch
-
myhloli authored
- Add newline at the beginning of arabic_dict.txt - Change mode of multiple dictionary files
-
myhloli authored
- Remove OCR utils, modified PaddleOCR, and StructEqTable model - Delete related import statements and model definitions - Update dependencies in setup.py to remove paddlepaddle and related OCR packages
-
myhloli authored
- Comment out print statements in base_ocr_v20.py and pytorch_paddle.py - Update table model initialization to use lang parameter instead of ocr_engine - Remove unused RapidOCR initialization in rapid_table.py
-
myhloli authored
-
myhloli authored
- Comment out OCR model initialization and execution for low-contrast spans - Add batch OCR processing for collected image spans - Adjust contrast threshold for OCR processing - Remove unnecessary OCR processing for high-contrast spans - Implement more efficient OCR workflow by processing multiple spans at once
-
- 01 Apr, 2025 4 commits
-
-
myhloli authored
-
myhloli authored
- Enhance the logging of execution times by adding more detailed function identification - Implement class name and module name inclusion for better traceability
-
myhloli authored
- Remove unused OCR dictionaries for Arabic, Belarusian, Bulgarian and Armenian languages - Update model configurations in arch_config.yaml: - Comment out 'out_channels' for various language models - Rename Arabic, Korean, Japanese, Tamil and Devanagari model configurations to use 'v3' instead of 'v4' - Delete ar_dict.txt, be_dict.txt and bg_dict.txt files - Update arabic_dict.txt to remove blank line at the start
-
myhloli authored
- Remove unused imports and code - Simplify model architecture by removing unnecessary components - Update initialization and forward pass logic - Rename variables for consistency
-