eienmojiki commited on
Commit
8e75d7b
·
1 Parent(s): 856f31e
Files changed (1) hide show
  1. filters.py +7 -7
filters.py CHANGED
@@ -24,14 +24,14 @@ def dot_effect(image, dot_size: int = 10, dot_spacing: int = 2, invert: bool = F
24
  """
25
  ## Convert your image into a dotted pattern.
26
 
27
- __Args:__\n
28
- `image` (numpy.ndarray): Input image (BGR or grayscale)
29
- `dot_size` (int): Size of each dot
30
- `dot_spacing` (int): Spacing between dots
31
- `invert` (bool): Invert the dots
32
 
33
- __Returns:__\n
34
- numpy.ndarray: Dotted image
35
  """
36
  # Convert to grayscale if image is color
37
  if len(image.shape) == 3:
 
24
  """
25
  ## Convert your image into a dotted pattern.
26
 
27
+ **Args:**
28
+ * `image` (numpy.ndarray): Input image (BGR or grayscale)
29
+ * `dot_size` (int): Size of each dot
30
+ * `dot_spacing` (int): Spacing between dots
31
+ * `invert` (bool): Invert the dots
32
 
33
+ **Returns:**
34
+ * `numpy.ndarray`: Dotted image
35
  """
36
  # Convert to grayscale if image is color
37
  if len(image.shape) == 3: