diff --git a/README.md b/README.md index 4387c28..c68c377 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ detections = detector.detect(image=image, is_bgr=True) # Draw the detections for (x1, y1, x2, y2), confidence in detections: cv2.rectangle(image, (x1, y1), (x2, y2), color=(0, 255, 0), thickness=2) - cv2.putText(image, f'{confidence:.2f}', (x1, y1 - 10), fontFace=cv2.FONT_HERSHEY_SIMPLEX, fontScale=1, - color=(0, 255, 0), thickness=2) + cv2.putText(image, f'{confidence:.2f}', (x1, y1 - 10), fontFace=cv2.FONT_HERSHEY_SIMPLEX, + fontScale=1, color=(0, 255, 0), thickness=2) # Save the results cv2.imwrite(filename='resources/qreader_test_image_detections.jpeg', img=image) ```