PDFImageReader Error

Hi Agno Team,

I’m trying use PDFImageReader for OCR and getting the following Error. Could you please support? Thank you in advance.

Traceback (most recent call last):
File “/Users/miyake/Library/Python/3.9/lib/python/site-packages/rapidocr_onnxruntime/utils/process_img.py”, line 30, in reduce_max_side
raise ResizeImgError(“resize_w or resize_h is less than or equal to 0”)
rapidocr_onnxruntime.utils.process_img.ResizeImgError: resize_w or resize_h is less than or equal to 0

Hi @Kenniferm
Welcome back!!
I’ve looped in the right engineers to help with your question. We usually respond within 49 hours, but if this is urgent, just let us know, and we’ll do our best to prioritize it.
Appreciate your patience—we’ll get back to you soon! :smile:

Hi @Kenniferm . I tested out our PDFImageReader and its working for an image rich pdf. Is it possible to share your code so that i can replicate the issue ?