Skip to content

Commit 6ccaf65

Browse files
committed
fix #109 #118
1 parent 099cc02 commit 6ccaf65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cv/image.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,8 @@ def find_qr_code(self):
259259
img_size = self._data.shape
260260
gray = cv2.cvtColor(self._data, cv2.COLOR_BGR2GRAY)
261261
image_code = decode(gray)
262-
logging.warning(str(image_code))
263262
for symbol in image_code:
264-
text_found = symbol.data
263+
text_found = symbol.data.decode("utf-8")
265264
break
266265
return text_found
267266

0 commit comments

Comments
 (0)