Skip to content

Commit

Permalink
Sobel now uses Kernel Size correctly. (#894)
Browse files Browse the repository at this point in the history
  • Loading branch information
UsaidPro authored and SamCarlberg committed Oct 12, 2018
1 parent d38c920 commit 52e9515
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
Returns:
The result as a numpy.ndarray.
"""
return cv2.Sobel(src, 0, (int)(dx + 0.5), (int)(dy + 0.5), (int)(k_size + 0.5),
scale = scale, delta = delta, borderType = border_type)
return cv2.Sobel(src, 0, (int)(dx + 0.5), (int)(dy + 0.5), ksize = (int)(k_size + 0.5),
scale = scale, delta = delta, borderType = border_type)

0 comments on commit 52e9515

Please # to comment.