We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a275bfb + d33ec89 commit 917ee15Copy full SHA for 917ee15
colour_checker_detection/detection/segmentation.py
@@ -741,7 +741,9 @@ def colour_checkers_coordinates_segmentation(
741
if minimum_area < cv2.contourArea(curve) < maximum_area and is_square(
742
curve
743
):
744
- swatches.append(cv2.boxPoints(cv2.minAreaRect(curve)))
+ swatches.append(
745
+ as_int_array(cv2.boxPoints(cv2.minAreaRect(curve)))
746
+ )
747
748
# Clustering squares/swatches.
749
contours = np.zeros(image.shape, dtype=np.uint8)
0 commit comments