Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

OpenCV detector is missing, how can I get it?

$
0
0
I am just trying out qr codes for the first time, using Python3. I am following the instructions from this [webpage:](https://www.thepythoncode.com/article/generate-read-qr-code-python) When I get to "initialize the cv2 QRCode detector" I get this error in the Python shell: > # initialize the cv2 QRCode detector detector = cv2.QRCodeDetector()>> Traceback (most recent call last): > File "", line 1, in> detector => cv2.QRCodeDetector() AttributeError:> module 'cv2' has no attribute> 'QRCodeDetector' I installed OpenCV in Ubuntu with: sudo apt install opencv-python3 How can I get the detector? AttributeError: module 'cv2' has no attribute 'QRCodeDetector'

Viewing all articles
Browse latest Browse all 2088

Trending Articles