diff --git a/secure_pixelation/get_bounding_boxes.py b/secure_pixelation/get_bounding_boxes.py index 5924972..7dbd069 100644 --- a/secure_pixelation/get_bounding_boxes.py +++ b/secure_pixelation/get_bounding_boxes.py @@ -12,5 +12,10 @@ from .data_classes import RawImage def select_bounding_boxes(to_detect: str): raw_image = RawImage(to_detect) - r = cv2.selectROI(raw_image.image) - print(r) + bounding_boxes = cv2.selectROIs( + windowName=raw_image.name, + img=raw_image.image, + fromCenter=False + ) + + print(bounding_boxes)