Skip to content

Commit 917ee15

Browse files
committed
Merge branch 'feature/v0.1.3' into develop
2 parents a275bfb + d33ec89 commit 917ee15

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

colour_checker_detection/detection/segmentation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,9 @@ def colour_checkers_coordinates_segmentation(
741741
if minimum_area < cv2.contourArea(curve) < maximum_area and is_square(
742742
curve
743743
):
744-
swatches.append(cv2.boxPoints(cv2.minAreaRect(curve)))
744+
swatches.append(
745+
as_int_array(cv2.boxPoints(cv2.minAreaRect(curve)))
746+
)
745747

746748
# Clustering squares/swatches.
747749
contours = np.zeros(image.shape, dtype=np.uint8)

0 commit comments

Comments
 (0)