1. 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
  2. 26 Mar, 2025 1 commit
  3. 07 Mar, 2025 1 commit
    • myhloli's avatar
      refactor(magic_pdf): replace PIL with NumPy for image processing · 1b34f7e4
      myhloli authored
      - Remove PIL usage across multiple files
      - Convert image processing functions to use NumPy arrays
      - Update crop_img function to work with NumPy arrays
      - Modify image loading and resizing to use NumPy and OpenCV
      - Clean up unused imports and comments related to PIL
      1b34f7e4
  4. 21 Jan, 2025 1 commit
  5. 16 Jan, 2025 1 commit
  6. 15 Jan, 2025 1 commit
  7. 14 Jan, 2025 1 commit
  8. 26 Dec, 2024 1 commit
    • myhloli's avatar
      refactor(device): optimize memory cleaning and device selection · 50f48417
      myhloli authored
      - Update clean_memory function to support both CUDA and NPU devices
      - Implement get_device function to centralize device selection logic
      - Modify model initialization and memory cleaning to use the selected device
      - Update RapidTableModel to support both RapidOCR and PaddleOCR engines
      50f48417
  9. 18 Dec, 2024 1 commit
  10. 13 Dec, 2024 2 commits
  11. 12 Dec, 2024 2 commits