Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

add mask argument in documentation

edgarriba1a03b6e9e7f0
diff --git a/kornia/feature/scale_space_detector.py b/kornia/feature/scale_space_detector.py
index afe439a57..ff623ef7f 100644
--- a/kornia/feature/scale_space_detector.py
+++ b/kornia/feature/scale_space_detector.py
@@ -191,7 +191,9 @@ class ScaleSpaceDetector(nn.Module):
detect function. Then affine shape and orientation.
Args:
- img: (torch.Tensor), shape [BxCxHxW]
+ img (torch.Tensor): image to extract features with shape [BxCxHxW]
+ mask (torch.Tensor, optional): a mask with weights where to apply the
+ response function. The shae must same as the input image.
Returns:
lafs (torch.Tensor): shape [BxNx2x3]. Detected local affine frames.