Cyrile commited on
Commit
a5907f9
1 Parent(s): e6d5a2f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -82,7 +82,7 @@ def detect_bboxes(masks: np.ndarray):
82
  )
83
  for contour in list(contours):
84
  if len(list(contour)) >= 4:
85
- # smallest rectangle containing all points in the contour is computed
86
  x, y, width, height = cv2.boundingRect(contour)
87
  bounding_box = [x, y, x + width, y + height]
88
  detected_blocks.append(bounding_box)
 
82
  )
83
  for contour in list(contours):
84
  if len(list(contour)) >= 4:
85
+ # smallest rectangle containing all points
86
  x, y, width, height = cv2.boundingRect(contour)
87
  bounding_box = [x, y, x + width, y + height]
88
  detected_blocks.append(bounding_box)