fix: [qrcode extractor] debug

This commit is contained in:
terrtia 2024-10-02 15:32:36 +02:00
parent 8d0f85294a
commit 09260f68ae
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -54,6 +54,7 @@ class QrCodeReader(AbstractModule):
try: try:
image = cv2.cvtColor(cv2.imread(path), cv2.COLOR_BGR2RGB) image = cv2.cvtColor(cv2.imread(path), cv2.COLOR_BGR2RGB)
except cv2.error: except cv2.error:
print(self.obj.get_global_id())
image = cv2.imread(path) image = cv2.imread(path)
try: try: