Skip to content

Downloading fonts fails when using RapidOCR. #375

@MrXionGe

Description

@MrXionGe

version

docling-serve-cpu:1.5.1

step

  1. Upload an image (png, jpeg, etc.)
  2. Select RapidOCR as the OCR Engine
  3. Process
  4. See the error

error

INFO:root:Initiating download: https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v3.4.0/resources/fonts/FZYTK.TTF
ERROR:root:Download failed: https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v3.4.0/resources/fonts/FZYTK.TTF

Supplementary Notes

I'm using Docling in an intranet environment and my server can't connect to the internet. I can download the fonts files manually, but I don't know where to put them.

Maybe, I can use docker-volumes, map the path inside the container, and let RapidOCR find the fonts file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions