Closed dyhl0 closed 2 years ago
Hi OP, I was using the exact same image in the example and I am not sure what is going on. I hope that you can help me out with this. Thank you in advance
Hi,
Can you check that you're using the correct version of opencv:
opencv-python==4.2.0.32.
If not, install the correct version and try again. If this doesn't work, let me know and we can try to figure it out.
Batuhan
Hi OP, this is the opencv in my conda list which is the same one that you have specified, yet the problem still persists.
That's strange because it works on my end.
One ugly solution is to go to the path where imagedataextractor is installed:
D:\hebida\lib\site-packages\imagedataextractor-2.0.4-py3.8.egg\imagedataextractor\
and edit the extract.py file. Comment out or delete any lines involving shape detection as this seems to be what's causing the problem: line 132 and lines 198 to 211.
I can look into this issue further when I have more time, but let me know if this fixes your issue for now.
Hi OP, I have redownloaded everything and found out that the problem was in tesseract, I have mistakenly downloaded the newest version instead of 4.0. Everything was rectified after the correct version has been downloaded. I am really sorry that I have inconvenienced you and thank you for answering my queries.
Great. Glad to hear you solved it.
Traceback (most recent call last)