How to read the image through opencv and send it to zxing for detection instead of using the image path?
reader = zxing.BarCodeReader()
qrcode = reader.decode(img_path)
I want to use the code as below, but I won't do it in detail.
reader = zxing.BarCodeReader()
qrcode = reader.decode(cv2.imread(img_path))