-
Notifications
You must be signed in to change notification settings - Fork 270
Description
PLease help me with this issue:
While using paddleocr I wasn't able to read to text from images.
Traceback (most recent call last):
File "/home/sarthak/test/test.py", line 189, in
result = extract_file_sync("test.png", config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sarthak/test/.virt/lib/python3.12/site-packages/kreuzberg/init.py", line 420, in extract_file_sync
return extract_file_sync_impl(str(file_path), mime_type, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kreuzberg.exceptions.PluginError: PluginError: Plugin error in 'paddleocr': OCR backend 'paddleocr' not registered
kreuzberg version - 4.3.6.
Collecting kreuzberg[paddleocr]
Using cached kreuzberg-4.3.6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (15 kB)
WARNING: kreuzberg 4.3.6 does not provide the extra 'paddleocr'
Using cached kreuzberg-4.3.6-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.8 MB)
DEPRECATION: extract-msg 0.38.2 has a non-standard dependency specifier imapclient>=2.3.0<3. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of extract-msg or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at pypa/pip#12063
DEPRECATION: extract-msg 0.38.2 has a non-standard dependency specifier beautifulsoup4>=4.11.1<4.12. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of extract-msg or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at pypa/pip#12063
DEPRECATION: extract-msg 0.38.2 has a non-standard dependency specifier chardet>=4.0.0<6. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of extract-msg or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at pypa/pip#12063
Installing collected packages: kreuzberg
Successfully installed kreuzberg-4.3.6
Python version -3.12