From b055998da96187cec8833594df83b9b1ab1252c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Ca=C3=B1as?= Date: Sun, 4 Aug 2024 23:02:52 +0200 Subject: [PATCH] Update example.ipynb --- example.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example.ipynb b/example.ipynb index 8add77a..30283df 100644 --- a/example.ipynb +++ b/example.ipynb @@ -95,7 +95,7 @@ "# Read the image\n", "img = cv2.cvtColor(cv2.imread('test_draw_64x64.jpeg'), cv2.COLOR_BGR2RGB)\n", "# Detect and decode the QRs within the image\n", - "QRs = detector.detect_and_decode(image=img, return_bboxes=True)\n", + "QRs = detector.detect_and_decode(image=img, return_detections=True)\n", "# Print the results\n", "for QR in QRs:\n", " print(QR)" @@ -121,4 +121,4 @@ ] } ] -} \ No newline at end of file +}