1. 24 May, 2025 3 commits
  2. 23 May, 2025 2 commits
  3. 22 May, 2025 1 commit
    • myhloli's avatar
      feat(ocr): add PP-OCRv5 models and update configurations · 048f6af4
      myhloli authored
      - Add new PP-OCRv5 detection and recognition models
      - Update arch_config.yaml with new model architectures
      - Modify models_config.yml to include PP-OCRv5 models for ch_lite configuration- Change dictionary file for ch_lite to ppocrv5_dict.txt
      048f6af4
  4. 19 May, 2025 1 commit
  5. 14 May, 2025 7 commits
  6. 09 May, 2025 13 commits
  7. 08 May, 2025 5 commits
  8. 06 May, 2025 2 commits
  9. 30 Apr, 2025 5 commits
    • Xiaomeng Zhao's avatar
      Merge pull request #2411 from CharlesKeeling65/patch-1 · 11bf98d0
      Xiaomeng Zhao authored
      Update app.py: Fix parameter parsing in /file_parse endpoint
      11bf98d0
    • github-actions[bot]'s avatar
    • Wang Yubo's avatar
      Update app.py: Fix parameter parsing in /file_parse endpoint · 862891e2
      Wang Yubo authored
      I have updated the `/file_parse` endpoint in `app.py` to correctly handle boolean and string parameters when they are sent via `multipart/form-data` requests (commonly used for file uploads). Previously, these parameters were not being properly parsed because FastAPI expects them to be passed as query or JSON body parameters by default.
      
      ### Changes Made:
      - Added `Form(...)` to all non-file parameters (`parse_method`, `is_json_md_dump`, `output_dir`, and return flags like `return_layout`, etc.).
      - This ensures that FastAPI correctly reads these fields from form-data, allowing clients to send both files and structured configuration options in the same request.
      
      ### Why This Change Was Needed:
      - When using `requests.post(..., data=data, files=files)`, the `data` dictionary is sent as form-encoded data.
      - Without explicitly declaring these fields with `Form(...)`, FastAPI does not bind them correctly, leading to default values always being used (e.g., `False` for boolean flags).
      - This change allows the API to accurately reflect the client's intent and enables features like `return_layout`, `return_images`, etc., to work as expected.
      
      This update improves compatibility with HTTP clients that rely on standard form-based file upload mechanisms while preserving the existing behavior of the API.
      862891e2
    • Xiaomeng Zhao's avatar
      Merge pull request #2410 from myhloli/dev · f0b66d3a
      Xiaomeng Zhao authored
      feat(model): add logging for batch image processing
      f0b66d3a
    • myhloli's avatar
      feat(model): add logging for batch image processing · b29b73af
      myhloli authored
      - Add logger info for each batch processed
      - Include batch number and page count in log message
      b29b73af
  10. 29 Apr, 2025 1 commit