1. 14 Jan, 2025 1 commit
    • myhloli's avatar
      feat(layout): improve title block handling and layout detection · c20e9a1e
      myhloli authored
      - Merge title blocks that are close to each other horizontally
      - Adjust line insertion logic for title blocks- Increase image size and decrease confidence threshold for layout detection
      - Update DocLayoutYOLO model weights
      - Refactor drawing of bounding boxes for different block types
      c20e9a1e
  2. 10 Jan, 2025 1 commit
  3. 26 Dec, 2024 2 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
  4. 16 Dec, 2024 1 commit
  5. 12 Dec, 2024 1 commit
  6. 11 Dec, 2024 1 commit
  7. 06 Dec, 2024 7 commits
  8. 22 Nov, 2024 1 commit
  9. 21 Nov, 2024 1 commit
    • myhloli's avatar
      feat(ocr): improve text detection and OCR accuracy · b2e37a2d
      myhloli authored
      - Update OCR utils to handle different box formats and improve angle calculation
      - Modify PDF extraction kit to support OCR option and optimize processing flow
      - Enhance PPOCR model to sort and filter detection boxes, improving text splitting accuracy
      b2e37a2d
  10. 19 Nov, 2024 1 commit
  11. 15 Nov, 2024 1 commit
  12. 08 Nov, 2024 2 commits
    • myhloli's avatar
      feat(table): add RapidOCR support for RapidTable model · fe2c2c0d
      myhloli authored
      - Integrate RapidOCR with RapidTable model for table recognition
      - Improve memory management for devices with <= 8GB VRAM
      - Update table recognition process to use RapidOCR for RapidTable
      - Add rapidocr-paddle dependency in setup.py
      fe2c2c0d
    • myhloli's avatar
      feat(table): integrate RapidTable model for table recognition · 240fe99e
      myhloli authored
      - Add RapidTable model support for table recognition
      - Update table model configuration and initialization
      - Modify table recognition process to use RapidTable when specified
      - Add RapidTable dependency to setup.py
      240fe99e
  13. 06 Nov, 2024 1 commit
  14. 04 Nov, 2024 2 commits
    • myhloli's avatar
      feat(table): upgrade StructEqTable model and integrate into PDF Extract Kit · 11f23843
      myhloli authored
      - Update StructTableModel to use the latest struct-eqtable library
      - Add support for HTML table extraction in PDF Extract Kit
      - Improve error handling and model initialization
      - Update dependencies in setup.py for struct-eqtable
      11f23843
    • ciaran's avatar
      Update pdf_extract_kit.py · fb6cb8b0
      ciaran authored
      Modify line 397 to ensure compatibility with CPU execution, addressing the issue where specifying 'cpu' in config.json still results in a ValueError for expecting a cuda device but getting 'cpu' during demo execution.
      fb6cb8b0
  15. 28 Oct, 2024 3 commits
  16. 25 Oct, 2024 1 commit
  17. 24 Oct, 2024 1 commit
  18. 23 Oct, 2024 1 commit
    • myhloli's avatar
      feat(model): add support for DocLayout-YOLO model · 1279f2cd
      myhloli authored
      - Add new layout model option: DocLayout-YOLO
      - Implement model initialization and prediction for DocLayout-YOLO
      - Update configuration options to include new model- Modify existing code to support both LayoutLMv3 and DocLayout-YOLO models
      - Update Gradio app to support more Custom Switch
      1279f2cd
  19. 17 Oct, 2024 2 commits
  20. 14 Oct, 2024 1 commit
    • myhloli's avatar
      feat(list&index block): detect and merge list and index blocks · 1f1dd353
      myhloli authored
      - Add detection for list and index blocks in OCR processing- Implement merging of list and index blocks across pages
      - Update block types to include list and index categories
      - Adjust text merging logic to handle new block types
      - Modify layout drawing to distinguish list and index blocks
      1f1dd353
  21. 08 Oct, 2024 2 commits
  22. 06 Oct, 2024 1 commit
    • myhloli's avatar
      refactor(model): improve timing information and performance · be1b1ae7
      myhloli authored
      - Enhance timing output precision to two decimal places for better readability- Calculate and log document analysis speed in pages per second
      - Optimize logging for YOLO and table recognition processes
      - Remove unnecessary comments and improve code efficiency
      be1b1ae7
  23. 29 Sep, 2024 1 commit
  24. 20 Sep, 2024 1 commit
  25. 19 Sep, 2024 2 commits
  26. 12 Sep, 2024 1 commit