Skip to content

Commit 52e9515

Browse files
UsaidProSamCarlberg
authored andcommitted
Sobel now uses Kernel Size correctly. (#894)
1 parent d38c920 commit 52e9515

File tree

1 file changed

+2
-2
lines changed
  • ui/src/main/resources/edu/wpi/grip/ui/codegeneration/python/operations

1 file changed

+2
-2
lines changed

ui/src/main/resources/edu/wpi/grip/ui/codegeneration/python/operations/CV_Sobel.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
Returns:
1111
The result as a numpy.ndarray.
1212
"""
13-
return cv2.Sobel(src, 0, (int)(dx + 0.5), (int)(dy + 0.5), (int)(k_size + 0.5),
14-
scale = scale, delta = delta, borderType = border_type)
13+
return cv2.Sobel(src, 0, (int)(dx + 0.5), (int)(dy + 0.5), ksize = (int)(k_size + 0.5),
14+
scale = scale, delta = delta, borderType = border_type)

0 commit comments

Comments
 (0)