'Unknown OpenCV exception while using EasyOcr

Code:

import easyocr

reader = easyocr.Reader(['en'])
result = reader.readtext('R.png')

Output:

CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU.

cv2.error: Unknown C++ exception from OpenCV code

I would truly appreciate any support!



Solution 1:[1]

install letest version of opnecv

pip install opencv-python==4.5.4.60

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Reshma Kachhadiya