Reformatted Code with pre-commit

This commit is contained in:
xenteros committed 2023-11-16 22:34:52 +01:00
1 parent c2101db5d2
commit 1267cf7fb0
1 file changed
+1 -3
+1 -3
View File
@@ -170,9 +170,7 @@ class MaskAnnotator(BaseAnnotator):
mask = detections.mask[detection_idx]
colored_mask[mask] = color.as_bgr()
scene = cv2.addWeighted(
colored_mask, self.opacity, scene, 1 - self.opacity, 0
)
scene = cv2.addWeighted(colored_mask, self.opacity, scene, 1 - self.opacity, 0)
return scene.astype(np.uint8)