We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 099cc02 commit 6ccaf65Copy full SHA for 6ccaf65
1 file changed
cv/image.py
@@ -259,9 +259,8 @@ def find_qr_code(self):
259
img_size = self._data.shape
260
gray = cv2.cvtColor(self._data, cv2.COLOR_BGR2GRAY)
261
image_code = decode(gray)
262
- logging.warning(str(image_code))
263
for symbol in image_code:
264
- text_found = symbol.data
+ text_found = symbol.data.decode("utf-8")
265
break
266
return text_found
267
0 commit comments