I am trying to use [textdetection](https://github.com/opencv/opencv_contrib/blob/master/modules/text/samples/textdetection.py)`algorithm. But I'm getting an error in line 27 of the code
> AttributeError: module 'cv2.cv2' has
> no attribute 'text'
I have looked up but couldn't find a solution for this. Any help will be appreciated.
I'm using OpenCV 3.4.1
↧