The used PIL and opencv backends support a lot more file formats than jpg, png, jpeg, bmp, pdf.
Checklist:
Example and Error:
paddleocr ocr -i Path\to\image.ppm
...
Not supported input file type! Only PDF and image files ended with suffix `jpg, png, jpeg, bmp, pdf` are supported! But recevied `C:\Users\Tim\Desktop\test2.ppm`.
Environment:
paddlex 3.4.2
paddlepaddle 3.2.2 (CPU version)
Windows
Python 3.12.8