parseq icon indicating copy to clipboard operation
parseq copied to clipboard

Parseq with PyTorch >= 2.0

Open erikatbeof opened this issue 2 years ago • 1 comments

Hi! Is there a way to run Parseq with Pytorch >= 2.0? /Erik

erikatbeof avatar Feb 01 '24 20:02 erikatbeof

Yes, you can do it using pytorch 2.0. All you need to do is pip install ocr_tamil and run the following code

from ocr_tamil.ocr import OCR
image_path = r"test_images\1.jpg" # insert your image path here
ocr = OCR()
texts = ocr.predict(image_path)
print(texts)

gnana70 avatar Feb 08 '24 16:02 gnana70

Nice one brother @gnana70

shanmugamani1023 avatar Feb 12 '24 07:02 shanmugamani1023