1. 05 Jan, 2025 4 commits
    • myhloli's avatar
      docs(README): update documentation for NPU support · 2e8601ab
      myhloli authored
      - Add section for using NPU acceleration in both English and Chinese README files
      - Update system requirements to include CANN environment for NPU support
      - Enhance the "Quick Start" guide with NPU-related information- Modify hardware requirements to specify "Ascend 910b" for NPU acceleration
      2e8601ab
    • myhloli's avatar
      feat(tools): add character bounding box drawing functionality · f911a102
      myhloli authored
      - Add `draw_char_bbox` function to `draw_bbox.py` for drawing character bounding boxes
      - Integrate `draw_char_bbox` into `common.py` for use in PDF processing pipeline
      - Include option to draw character bounding boxes in debug mode
      f911a102
    • myhloli's avatar
      style(pdf_parse_union_core_v2): remove unnecessary spaces and improve code... · 9951a170
      myhloli authored
      style(pdf_parse_union_core_v2): remove unnecessary spaces and improve code formatting- Remove extra space in conditional statement for character spacing logic
      - Adjust spacing in trigonometric checks for line direction- Improve overall code readability and consistency
      9951a170
    • myhloli's avatar
      fix(magic-pdf): update OCR model selection logic · 16a0a350
      myhloli authored
      - Add missing 'else' statement in OCR model selection logic
      - Ensure consistent formatting of 'if' statements for better readability
      - Remove unnecessary empty line in the 'app.py' file
      16a0a350
  2. 03 Jan, 2025 2 commits
  3. 02 Jan, 2025 1 commit
  4. 30 Dec, 2024 3 commits
  5. 27 Dec, 2024 1 commit
  6. 26 Dec, 2024 3 commits
    • 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
    • myhloli's avatar
      feat(model): add npu support and optimize table model · 7990e7df
      myhloli authored
      - Add NPU support for memory cleaning and model initialization
      - Optimize table model initialization and prediction process
      - Update memory utils to support NPU
      - Add language parameter for table model
      7990e7df
    • myhloli's avatar
      build(deps): upgrade unimernet to 0.2.3 · 96f8da2a
      myhloli authored
      - Update unimernet from 0.2.2 to 0.2.3 in requirements-docker.txt and setup.py
      - Remove torchtext/eva-decord dependency
      96f8da2a
  7. 25 Dec, 2024 2 commits
    • myhloli's avatar
      refactor(magic_pdf): remove unnecessary logging statements · 192047a1
      myhloli authored
      - Comment out logging statements for title list, title completion, and length comparison
      - Improve code readability and reduce clutter by removing unused debug information
      192047a1
    • myhloli's avatar
      feat(llm_aided): add title optimization feature · 0a468eca
      myhloli authored
      - Implement llm_aided_title function to optimize document titles using LLM
      - Update pdf_parse_union_core_v2.py to include title optimization
      - Modify ocr_mkcontent.py to use optimized title levels- Add openai SDK dependency in setup.py
      0a468eca
  8. 24 Dec, 2024 2 commits
  9. 20 Dec, 2024 5 commits
  10. 19 Dec, 2024 5 commits
  11. 18 Dec, 2024 11 commits
  12. 17 Dec, 2024 1 commit