Skip to content

输入为pdf文件时异常(Failed to read image) tools\infer_doc_onnx.py image = cv2.imread(actual_path) 时异常,只能读取图像文件 #188

@mz157589766

Description

@mz157589766

【输入为pdf文件时异常(Failed to read image) tools\infer_doc_onnx.py image = cv2.imread(actual_path) 时异常,只能读取图像文件】

Error occurs when input is a PDF file ("Failed to read image") – in tools\infer_doc_onnx.py, an issue arises at image = cv2.imread(actual_path), as it can only read image files.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions