1. 02 Apr, 2025 1 commit
    • myhloli's avatar
      feat(ocr): implement dynamic OCR processing for text spans with low contrast · a024c30f
      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
      a024c30f
  2. 01 Apr, 2025 3 commits
    • myhloli's avatar
      refactor(ocr): remove unused OCR dictionaries and update model configurations · 41f1fb8a
      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
      41f1fb8a
    • myhloli's avatar
      refactor(ocr): remove unused code and simplify model architecture · b3d6785d
      myhloli authored
      - Remove unused imports and code
      - Simplify model architecture by removing unnecessary components
      - Update initialization and forward pass logic
      - Rename variables for consistency
      b3d6785d
    • myhloli's avatar
      fix(pdf_parse_union_core_v2): suppress FutureWarning from transformers · 3cb156f5
      myhloli authored
      - Added warnings module to import list
      - Implemented a warning catcher to ignore FutureWarning from the transformers module
      - This change prevents unnecessary warning messages during model inference
      3cb156f5
  3. 31 Mar, 2025 3 commits
    • myhloli's avatar
      refactor(model): integrate AtomModelSingleton for OCR and improve OCR result handling · 59d6b195
      myhloli authored
      - Replace direct OCR model access with AtomModelSingleton for better model management
      - Round OCR scores to 2 decimal places for consistency
      - Improve error handling and logging in batch analysis
      - Simplify OCR result processing in pdf_parse_union_core_v2.py
      59d6b195
    • myhloli's avatar
      feat(ocr): implement language-specific OCR processing · d7d85a28
      myhloli authored
      - Add support for multiple languages in OCR processing
      - Create separate lists for each language to improve processing efficiency
      - Update OCR model initialization to use PytorchPaddleOCR instead of ModifiedPaddleOCR
      - Modify get_ocr_result_list function to include language information- Improve logging for OCR detection and recognition
      d7d85a28
    • myhloli's avatar
      feat(ocr): implement separate detection and recognition processes · a330651d
      myhloli authored
      - Split OCR process into detection and recognition stages
      - Update batch analysis and document analysis pipelines
      - Modify OCR result formatting and handling
      - Remove unused imports and optimize code structure
      a330651d
  4. 27 Mar, 2025 4 commits
  5. 26 Mar, 2025 3 commits
  6. 24 Mar, 2025 10 commits
  7. 22 Mar, 2025 2 commits
  8. 21 Mar, 2025 4 commits
  9. 20 Mar, 2025 10 commits