【输入为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.
