You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
The dependency on pdf2image and poppler-utils gave me some headaches because it is not possible to install poppler-utils in my work environment.
So, I implemented custom classes that does the same thing as pdf2image.convert_from_path() function but using PyMuPDF.
I also inherited RAGMultiModalModel and ColPaliModel classes and modified the certain methods to make them work with PyMuPDF-based new custom classes. As a result, it is still working in the same way but without the dependency on poppler-utils.
If it is welcomed and suitable, I'd like to contribute this implementation, but I don't know much about licensing issues.
The text was updated successfully, but these errors were encountered:
Hello,
The dependency on pdf2image and poppler-utils gave me some headaches because it is not possible to install poppler-utils in my work environment.
So, I implemented custom classes that does the same thing as pdf2image.convert_from_path() function but using PyMuPDF.
I also inherited RAGMultiModalModel and ColPaliModel classes and modified the certain methods to make them work with PyMuPDF-based new custom classes. As a result, it is still working in the same way but without the dependency on poppler-utils.
If it is welcomed and suitable, I'd like to contribute this implementation, but I don't know much about licensing issues.
The text was updated successfully, but these errors were encountered: