'I am creating QR code reader from pyboof module
python As you can see i wrote the code of qrreader using pyboof module, 'print(pb.QrCodeDetector.detect(image='img1_main.png'))' I got an error in this line. The detect function takes 2 arguments so, I passed the image only and I got self argument error. What will be the next argument? Please! help me to find this.
error TypeError: QrCodeDetector.detect() missing 1 required positional argument: 'self'
import numpy as np
import pyboof as pb
print(pb.QrCodeDetector.detect(image='img1_main.png'))
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
