Open patilauminfi opened 2 years ago
Hi @patilauminfi Do you have any reproducing code that I can run?
Hi @s39674 When I run following function in spark udf function it throws this error:
import easyocr
from io import BytesIO
reader = easyocr.Reader(['en'])
def crop_save(img):
txt=reader.readtext(img)
return txt
You can take following file for reference.
`
I get the same error
Hi @patilauminfi I recently faced the same problem. Only when i set parameter quantize=False for Reader, it worked for me.
Hi, I am trying to run the easyocr in spark udf function. (Actually there is also another pandas apply function in that udf function). When i run the script I get following error.
I am using Centos 7 Python 3.8 torch version - 1.11.0+cu102 torchvision version - 0.12.0+cu102
Can anyone pls help?